前端之家收集整理的这篇文章主要介绍了
sql – Oracle使用with子句创建表,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当然:
CREATE TABLE t
AS
WITH some_data AS (
SELECT 1 as some_value
FROM dual
UNION ALL
SELECT 2
FROM dual
)
SELECT *
FROM some_data
原文链接:https://www.f2er.com/mssql/82802.html