create 的语法:
1. 此时是利用table_name2表的全部字段创建的table_name1;
create table table_name1 (select * from table_name2);
2. 如果要选取几个字段就要用到AS;
create table table_name1 as select id,name from table_name2 (where .... order by ....);
好的解散!
create 的语法:
1. 此时是利用table_name2表的全部字段创建的table_name1;
create table table_name1 (select * from table_name2);
2. 如果要选取几个字段就要用到AS;
create table table_name1 as select id,name from table_name2 (where .... order by ....);
好的解散!