Suppose you have following base table :
student_id student_name course_name subscribed
--------------------------------------------------
001 vishnu english YES
001 vishnu arabic NO
001 vishnu chinese YES
I need it in the following format :
student_id student_name english arabic chinese
------------------------------------------------------
001 vishnu YES NO YES
I need the mysql query for this. Please help or guide me in the right direction.