stdId StdName Subname SubjectMark
---------------------------------------------
1 alex english 50
2 anto english 60
2 anto hindhi 60
2 anto science 30
2 anto math 20
3 abru math 70
3 abru hindhi 60
3 abru english 50
i have a table as shown above. i want to write a query to get values as shown below
student english hindhi science math
----------------------------------------------
alex 50
anto 60 60 30
abru 50 70 70
please help me.. thanks in advance