I have a table in the following format:
id | question | value
1 | Name? | John
1 | City? | London
1 | Country? | England
2 | Name? | Lucy
2 | City? | New York
2 | Country? | USA
I want the table to look like the following instead
id | name | city | Country
1 | John | London | England
2 | Lucy | New York | USA
I want to do this using Hive SQL but I'm not sure how to? There doesn't seem to be a pivot function