sql中as的用户

来源:互联网 发布:吾生有涯而知无涯全文 编辑:程序博客网 时间:2024/05/16 17:11

1.在SQL作查询的时候,用来指定别名,比如:select table as t from table where t.id='';得意

2.在创建表的时候,create table as select * from table2;创建一张和table2一模一样的表(数据也有).得意只是表名更改了..

0 0
原创粉丝点击