I have two tables like this
id Value color
-------------------
1 Shirt red
1 Bag blue
1 Shoes blue
1 ....
Note that we can have any number of items in this table.
id Name Gender
-------------------
1 Mary F
Is there any SQL queries that would give me the following table?
id Name Gender Shirt Bag ...
-------------------------------------
1 Mary F red blue ...
Thanks