I have two tables
order [ order_id ]
order_line [ order_id, product_id, cat_id ]
I want to select every order & associated order_line,
but I want row per order, and i only want to select cat_id from order_line
so i want a result like this..
results:
[0] order_id, cat_id1 , cat_id2, cat_id3
[1] order_id, cat_id
Possible?
this is based on the answer to my own question