第五次作业
这个作业属于哪个课程 | https://edu.cnblogs.com/campus/uzz/cs3 |
---|---|
这个作业要求在哪里 | https://edu.cnblogs.com/campus/uzz/cs3/homework/13074 |
这个作业的目标 | https://edu.cnblogs.com/campus/uzz/cs3/homework/13074 |
select 姓名,出生日期 from student_info where 性别=(select 性别 from student_info where 姓名= '刘东阳');
select 学号,姓名,性别 from student_info where 学号 in (select 学号 from grade where 课程编号='0002' or 课程编号='0005');
select 课程编号,分数 from grade where 分数>any(select 分数 from grade where 学号='0002') and 学号='0001';
select 课程编号,分数 from grade where 分数 >all(select 分数 from grade where 学号='0002') and 学号 ='0001';
select 学号,姓名 from student_info where 姓名 like '张%' UNION select 学号,姓名 from student_info where 姓名 like '刘%';
Delete语句用于删除表中的一条或多条记录,Drop用于删除整张表,truncate会删除整个表.