mysql_DML_insert

1、指定字段插入数据

insert into wsb2(stu_name,salary)values ('nan','10000');

insert into wsb2(stu_name,salary)values ('nan','10000'),('cc','200');//插入多条

2、不指定字段插入数据

insert into wsb2 VALUES(12,'genghui','8000',23,119,1,'buzhidao','default'),(19,'genghui','8000',24,119,1,'buzhidao','default');
desc wsb2;

posted @ 2016-09-22 14:38  D.零下的小书屋  阅读(127)  评论(0编辑  收藏  举报