mysql的批量插入

易错点:要写字段名,表名使用``

例子:

insert into `bus_message28`(start,arrive,startTime,arriveTime,location)

values('北理工','仲恺农业','17:15','15:11','图书馆1t13520073040'),

            ('北理工','撒旦撒旦5','17:15','15:11','图书馆1t13520073040'),

            ('北师大','仲恺农业','19:00','15:11','校石1t13250037055'),

            ('北师大','撒旦撒旦5','19:00','15:11','校石1t13250037055')

你可能感兴趣的:(mysql的批量插入)