I have a table of student scorecard. here is the table,
subject | mark1 | mark2 | mark3 |......|markn stud1 | 99 | 87 | 92 | | 46 stud2
SELECT student, SUM(mark1+mark2+mark3+....+markn) AS Total FROM your_table