I am creating a database for a school results analyser.
In my database i have tables like "students and subjects"... I need a table that takes the marks scored by each student(marks table) .
For this table am considering 2 options..
1 : i will have a table(marks) with many columns i.e. students_regno,(columns for all subjects - could be around 20.
This table will have fewer rows. Maybe 700
Or
2 : i could have a marks table with few columns i.e. students_regno,subject_id,marks this will have only 3 columns but the rows may span to over 5000 rows.
Which way should I go?