Possible Duplicate:
MYSQL - Rows to Columns
I've got the following table in MySQL:
Does anybody know how it's possible to do a select on the table to get the following result:
GivenName | FamilyName | EMailHome | PhoneNrHome
--------------------------------------------------------
Angus | Young | angus@gmail.com | (123) 456 789
So the fields that are linked to the same UserID should be arranged in columns.
Help would be appreciated a lot!