select ID, Vehicle from table
Original result is
ID Vehicle
--------------------
1 Car
1 Bike
1 Scooter
...
1 N.Product
Result I am expecting
ID Vehicle1 Vehicle2 Vehicle3 ....VehicleN
-----------------------------------------------------
1 Car Bike Scooter N.Product
I went through examples related to pivot, but they didn't help. Any suggestions?