实验四(3)(3)

2019-04-13 23:47

where sex='男');

法2:select sc.sno,student.sname as 学生姓名,

student.sex as 学生性别,sc.cno,sc.grade,course.cname

from student inner join (sc inner join course on sc.cno=course.cno) on student.sno=sc.sno where sex='男' and cname='数据库系统';

(23)查询所有比刘涛年龄大的教师姓名、年龄和刘涛的年龄; Select tname,age From teacher

Where age>(select age From teacher

Where tname='刘涛') Union

Select tname,age From teacher

Where tname='刘涛';

/*Select teacher.tname as 教师姓名,teacher.age as 年龄,*/

(24)查询不讲授“8104”号课程的教师姓名。 select teacher.tname from teacher where not exists ( select *

from course

where cno='8104' and tno=teacher.tno);

11


实验四(3)(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:最全的开车技巧 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: