把数据库里面一张表中的数据导入到一张空表中sql怎么写了 空表中没有任何字段
------解决方案--------------------
- SQL code
insert into 空表 (column1, column2,column3)select column1, column2,column3 from 数据库里面一张表
------解决方案--------------------
空表中没有任何字段:
什么数据库?
create tabel tt as
select * from tt1
------解决方案--------------------
顶楼上,用select into
:)
------解决方案--------------------
select * into table2 from table1