我可以用with查询中形成的查询中创建表吗? ! F3 a8 u" y1 U9 |5 u: [ 1 C1 ?! C& t y$ T; B+ j) ~4 q7 D 解决方案: 4 p+ J0 U. e8 @+ `7 b
当然:& q Y: c/ b3 y2 D% a( Q5 m
CREATE TABLE tAS WITH some_data AS SELECT 1 as some_value FROM dual UNION ALL SELECT 2 FROM dual) SELECT * FROM some_data