⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rel-ops.txt

📁 ssd7的本人的答案
💻 TXT
字号:
3.
SELECT Title, Price
FROM BOOK
WHERE PublisherID IN 
(SELECT PublisherID
FROM PUBLISHER
WHERE Name = 'Electronic Industry' OR Name = 'Nwpu'
);


Because select operation can return the special colomn of the table, so if we want the price and title from
the BOOK, we can use it. Besides, we can use it retrieve the publisherid from the PUBLISHER whose name is
'Electromic Industry' or 'Nwpu'.So with the IN operation, we can retrieve the title and price of all books published 
by either of two publishers('Electromic Industry' or 'Nwpu'). 


4.
SELECT Name
FROM PUBLISHER
WHERE PublisherId IN 
(SELECT PublisherId
FROM BOOK
WHERE Title = 'Database System'
);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -