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;

04-27 06:29