I have a table:
id data-type data-answer
-----------------------------------
1 car honda
1 color yellow
1 engine gasoline
2 car bmw
2 color black
3 engine diesel
Need advice, how to write SELECT so that it would be in output:
id car color engine
-----------------------------------------
1 honda yellow gasoline
2 bmw black diesel
Data in tables are to simplify the example. Have tried to search over the internet for 2 days. No solution found. Need guidance what to search.