
答案
Select * from books
Where pub_date < ‘2000-1-1’
And pub_id =some (select id from publisher
where desc=’清华大学出版社’)
select isdn, title, author, price, pub_date
from book, publisher
where pub_date <’2000-1-1’ and book.pub_id=publisher.id
(3)查询价格大于100元的未发行过的所有图书,并按出版日期升序排列,当出版日期相同时,按价格降序排列;
Select isdn, title, author, price, pub_date
From books
Where price>100
And not exists(
select * from pubRecord where pubRecord.isdn=books.isdn)
Order by pub_date, price desc