I am currently working on a query which looks like this
//3 rows
Product | Store
chocolate | Grocery A
chocolate | Grocery B
chocolate | Grocery C
Since all the store has chocolate what I want is to display in this format
//1 row
Product | Store
chocolate | Grocery A
| Grocery B
| Grocery C
Any idea on how can this be done? Sample code is much appreciated
Thanks