13 lines
339 B
MySQL
13 lines
339 B
MySQL
|
-- 单条数据插入
|
||
|
insert into t_stu values(1,'张三','男','1991-01-15');
|
||
|
|
||
|
-- 按照指定格式插入
|
||
|
insert into t_stu(sid,name,birthday,sex)
|
||
|
values(2,'王龙','1990-12-18','男');
|
||
|
|
||
|
-- 元组插入
|
||
|
insert into t_stu values
|
||
|
(3,'刘冬冬','女','1992-08-21'),
|
||
|
(4,'刘红','女','1992-05-19'),
|
||
|
(5,'王玉玉','女','1991-08-12');
|