求助!《数据库系统概论》上的一道习题,查询遇到难题了。 本帖最后由 leigema 于 2012-12-11 12:38:29 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select distinct JNOfrom SPJ awhere not exists ( select 1 from SPJ where SNO='S1' and PNO not in (select PNO from SPJ where JNO=a.JNO)) 如何编译官网下的mysql源码 mysql 创建存储过程调用一直出现错误1054 求问有较大数据的数据库设计问题 mySQL Cluster群集 application 连接问题 mysql索引如何更新及索引的建立 出现Fatal error: Maximum execution time of 60 seconds exceeded in ..... 请问日志的问题 急,急,急,小弟的MYSQL的问题 mysql where条件中用到大于或者小于时,查询未用到索引的问题 4张表怎么查询 mysql 的compute 安装编译mysql5.1源代码小问题?
from SPJ a
where not exists (
select 1 from SPJ where SNO='S1' and PNO not in (select PNO from SPJ where JNO=a.JNO)
)