Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不想创建 tmp 表。如何使这项工作?
with a as ( 340401182, 340401183 ) select * from a
如果您想要两行一列,请执行此操作
with a as ( Select 340401182 as val from dual UNION ALL Select 340401183 as val from dual ) select * from a
很接近....
with a as ( SELECT 340401182 AS Col1, 340401183 as Col2 ) select * from a