Oracle SQL 语言常用总结(一) with as , as of timestamp
with as :
Oracle 中with as 常用作查询语句可用作创建临时表,一般查询复杂汇总的sql ,不想 多次查询 ,可使用 with as 。
实例: with as 自定义表名{ ---自定义名称
select colum1, sum(colum2)colum2 from table group by colum1 //临时表查询的东西
} select a.colum1.b.colum2 from 表,自定义表名 where 表.colu...
原创
2021-11-10 14:35:17 ·
2752 阅读 ·
0 评论