items table
ID item_id item
------------------------
1 44 shoe
2 44 boat
3 44 car
4 82 truck
5 82 shirt
6 82 tree
7 99 egg
8 99 carrot
9 99 penguin
So I do:
SELECT item
FROM items
WHERE item_id = 82
I get the following on different rows:
truck
shirt
tree
Is there a SELECT that will return ALL items in one row , possibly
separated by some delimiter:
truck,shirt,tree
I know how to do it the long way but is there a simple select to do the same thing?
Thanks!
1 Answer