22,207
社区成员
发帖
与我相关
我的任务
分享
insert into tb(a,b,.....)
select a ='',b='',..... union all
select a ='',b='',..... union all
select a ='',b='',.....
insert into table (a,b,c) values (1,2,3)
insert into table (a,b,c) valuse (1,2,3)
--插入数据库表字段值就1#那种做法
insert into tb(a,b,.....) values('a',1,......)
INSERT INTO table (a,b,c) VALUES (1,2,3)