您当前的位置:《管理数据库》听课笔记:25
《管理数据库》听课笔记:25

例31查询信息系选修三门以上课程的学生的学号

select  sno  from  sc  where  sdept='is'  group by  sno  having  count(*)>3

3.3.2连接查询

例32查询每个学生及其选修课的情况

select  student.*,sc.*  from  student,sc  where  student.sno=sc.sno

收藏状态
收藏本课程的同学
相关课程