WITH
a AS (SELECT 1 + 2 S FROM DUAL),
b AS (SELECT 2 * 5 M FROM DUAL),
c AS (SELECT S, M, S + M, S * M FROM a, b)
SELECT * FROM c;
输出结果是:
a AS (SELECT 1 + 2 S FROM DUAL),
b AS (SELECT 2 * 5 M FROM DUAL),
c AS (SELECT S, M, S + M, S * M FROM a, b)
SELECT * FROM c;
输出结果是:
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31098809/viewspace-2124724/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31098809/viewspace-2124724/