例如:
select col1,col3,col6 from t1
insert into students (`id`,`name`,`gender`,`birthday`) values (0,"隔壁老王",1,"1988-12-12")前面加上字段名
insert tablea(a,b,c)select a,b,c from tableb where 标示列 not in (select 标示 from tablea)没调试,自己调试一下欢迎分享,转载请注明来源:内存溢出
例如:
select col1,col3,col6 from t1
insert into students (`id`,`name`,`gender`,`birthday`) values (0,"隔壁老王",1,"1988-12-12")前面加上字段名
insert tablea(a,b,c)select a,b,c from tableb where 标示列 not in (select 标示 from tablea)没调试,自己调试一下欢迎分享,转载请注明来源:内存溢出
评论列表(0条)