23、查询“张旭“教师任课的学生成绩。

select * from score s where cno in (

select cno from course where tno in(

select tno from teacher where tname = '张旭'))

24、查询选修某课程的同学人数多于5人的教师姓名。

select tname from teacher where tno in (

select tno from course where cno in (

select cno from score group by cno having count(sno)>5))

25、查询95033班和95031班全体学生的记录。

select * from student s where sclass in (

select sclass from student group by sclass having sclass in( '95033' ,'95031') )

26、  查询存在有85分以上成绩的课程Cno.

select cno from score where degree>85

27、查询出“计算机系“教师所教课程的成绩表。

select * from score where cno in (

select cno from course where tno in (

select tno from teacher where depart ='计算机系'))

最新文章

  1. css3新特性@rgba
  2. 从 Eclipse 迁移至 Android Studio
  3. Windows便笺 快捷键
  4. SQL 随笔
  5. AppCan中两种获取信息的方法
  6. linux c ping 实现
  7. PortMon(电脑开放端口检查工具) 3.03 免费绿色版
  8. c#代码发送post请求,上传文件(并带其他参数)
  9. 使用inpaint例子,去除水印
  10. java 利用SMB读取远程文件
  11. webstom破解
  12. highcharts框架使用总结
  13. [转]web服务器压力测试工具
  14. 免费下载获取Odoo中文实施 应用 指南 手册
  15. [Redis] redis的设计与实现-对象系统
  16. layui loading
  17. axure--中继器
  18. 如何在表单中使用Ajax
  19. mysql数据库优化大全
  20. 【C++ Primer 第11章】2. 关联容器操作

热门文章

  1. InvocationHandler
  2. 无责任Windows Azure SDK .NET开发入门篇三[使用Azure AD 管理用户信息]
  3. 批处理脚本命令行方式关闭Windows服务
  4. 译 - EF 6秘诀(第二版) - 目录
  5. java面试笔试试题http://www.jobui.com/mianshiti/it/java/6827/
  6. SexyProgressBar
  7. Windows平台下libevent库的使用
  8. excel VLOOKUP函数的用法
  9. QT 操作oracle数据库遇到的问题
  10. CSRF 攻击的应对之道--转