第五次作业

这个作业属于哪个课程 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会删除整个表.

PDF笔记链接
https://www.123pan.com/Weboffice/?type=f&id=3931572&FileName=图片 1_20231019165223.pdf&Size=1746935&Etag=abae606fc67d13ed55e3b656aef6de58&S3KeyFlag=1818630907-0&CreateAt=1697705750&UpdateAt=1697705750&uid=1818630907

posted @ 2023-10-19 16:57  邢加梁  阅读(8)  评论(1编辑  收藏  举报