I have a table in Hive in below format.
std_id std_name sub_id sub_name marks
1 xxx 123 Eng 70
1 xxx 125 Maths 90
1 xxx 124 Science 80
I want a table in below format as output.
std_id std_name Eng Science Maths
1 xxx 70 80 90
how can i get the output with using Hive Query..