rel-ops.txt

来自「ssd7 练习一答案 供大家参考 如有错误 请多多包涵」· 文本 代码 · 共 17 行

TXT
17
字号
(
	select Book.title, Book.price
	from   Book, PUBLISHER
	where  Book.PublisherID = PUBLISHER.PublisherID and PUBLISHER.PublisherName = 'MIT Press'
)
union
(
	select Book.title, Book.price
	from   Book, PUBLISHER
	where  Book.PublisherID = PUBLISHER.PublisherID and PUBLISHER.PublisherName = 'University of Chicago Press'
);

use select adn join operations.

In order to search books published by MIT Press and University of Chicago Press, then print them in title and price.

Union operation can join this two select together.

⌨️ 快捷键说明

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