Oracle 多行數據合併成一行數據

方法一sql SQL> WITH SHOPPING AS 2 ( 3 SELECT '1' U_ID, '蘋果' GOODS, '2' QTY FROM DUAL UNION ALL 4 SELECT '2' U_ID, '梨子' GOODS, '5' QTY FROM DUAL UNION ALL 5 SELECT '1' U_ID, '西瓜' G
相關文章
相關標籤/搜索