SELECT O.* FROM A O,A P; ------解决方案--------------------
ChenZw> WITH A AS(
2 SELECT 'A1' A,'A2' B,'A3' C FROM DUAL UNION ALL
3 SELECT 'B1' A,'B2' B,'B3' C FROM DUAL UNION ALL
4 SELECT 'C1' A,'C2' B,'C3' C FROM DUAL
5 ),B AS(
6 SELECT '日期1' FROM DUAL UNION ALL
7 SELECT '日期2' FROM DUAL UNION ALL
8 SELECT '日期3' FROM DUAL
9 )
10 SELECT * FROM A,B;