how can I change mySQL code to work in Oracle SQL 11g
SELECT a.boxid,
GROUP_CONCAT( CONCAT( b.quantity, \' x \', c.name ) SEPARATOR \', \' ) Items
FROM box a
INNER JOIN item_line b ON a.boxid = b.boxid
INNER JOIN items c ON b.itemid = c.itemid
The output of this query looks like this:
boxid items
1 2 x ball,4 x bat
2 ball
3 3 x cap,2 x ball,bat
4 2 x ball
Thanks for any answers.