I have a table StudentMarks with columns Name, Maths, Science, English. Data is like
StudentMarks
Name, Maths, Science, English
Name, Maths, Science, English Tilak, 90
SELECT * FROM student
UNPIVOT(Marks FOR subjects in(Maths , Science , English));