I have the following table in MySQL:
id name destination rating country
----------------------------------------------------
1 James Barbados 5 WI
1 James Antigua 6 WI
1 James mumbai 3 WI
2 Declan Trinidad 2 WI
2 Declan Barbados 4 WI
2 Declan Trinidad 3 WI
I want to write a select query which will fetch name and destination for example
name destination1 destination2 destination3
James mumbai Antigua Barbados