![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
数据库原理与应用
文章平均质量分 78
数据库原理与应用
cogitoErgoSumlif
这个作者很懒,什么都没留下…
展开
-
数据库系统概念第四章习题答案
数据库系统概念第四章习题答案4.1a.显示所有教师列表,列出他们的ID、姓名以及所讲授课程段的编号。对于没有讲授任何课程的教师,确保将课程段编号显示为0.在你的查询之中应该使用外连接,不能使用标量子查询。select ID, name, sec_idset sec_id = case when sec_id is null then 0 endfrom instructor natural left outer join teachesgroup by ID,name;上面的原创 2021-04-05 22:22:09 · 4793 阅读 · 1 评论 -
数据库系统概念第6版第三章答案
数据库系统概念第6版第三章答案3.1a.找出Comp.Sci系开设的具有3个学分的课程名称。select title from coursewhere dept_name = "Comp.Sci" and credits = 3;b.找出名叫Einstein的教师所教的所有学生的标识,保证结果中没有重复如果理解为该老师教过的所有学生,则为select distinct takes.IDfrom teaches natural join takes using course_idwh原创 2021-04-05 12:24:54 · 4801 阅读 · 0 评论