您的位置:首页 > 其它

实验12-04 查询借过“软件工程”和“操作系统”两本书的所有读者的信息

2018-07-19 17:58 591 查看

在Exam数据库中查询同时借过“软件工程”和“操作系统”两本书的所有读者的编号和姓名。

 

 

select distinct Exam..reader.rno,Exam..reader.rname from Exam..reader,Exam..borrow,Exam..book where
borrow.rno = reader.rno and (book.bname = '操作系统' or book.bname = '软件工程') and borrow.rno = reader.rno

 

  

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: