复制表的sql语句

1、sqlserver

原表存在:insert into a select * from b

原表不存在:select * into a from b

2、mysql、oracle

原表存在:insert into a select * from b

原表不存在:create table a select * from b

原文地址:https://www.cnblogs.com/xxy94077776/p/3395957.html