QyonJ

下一秒的阳光会不会更灿烂
as

1.更改一个column(列)的名字,
  select id as systemId from table1
2.还有一个用法就是在create table
   或 procedure 的时候,as 是个关键字。
   例如:
    create table test
    as
    select * from table1
    这时候就会create 一个table test,            他是完全copy  table
     table1里的全部数据。
   create procdure name as (is) --可互换
   begin
   end;

posted on 2017-03-10 08:53  QyonJ  阅读(185)  评论(0编辑  收藏  举报