码迷,mamicode.com
首页 > 数据库 > 详细

oracle 基本用法

时间:2019-07-25 14:39:48      阅读:102      评论:0      收藏:0      [点我收藏+]

标签:table   select   rom   bsp   emp_table   oracl   div   需要   nbsp   

with as的用法

  with as 是在内存中会间理一个临时表,基本使用:

with temp_table as 
     (select * from table)
 
select * from temp_table

  如果需要建立多个临时表,则使用:

with temp_tablea as
     (select * from tablea),
       temp_tableb as 
     (select * from tableb)

 

oracle 基本用法

标签:table   select   rom   bsp   emp_table   oracl   div   需要   nbsp   

原文地址:https://www.cnblogs.com/CanDmy/p/11244035.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!