qfedu-linux-advanced-level/day9/insert_students.sql

13 lines
339 B
SQL

-- 单条数据插入
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');