rel-ops.txt

来自「ssd7 exercise 1 ,绝对有用~欢迎下载」· 文本 代码 · 共 19 行

TXT
19
字号
1.
SELECT Title, Price
FROM BOOK
WHERE PublisherID IN (SELECT PublisherID
			FROM PUBLISHER
			WHERE Name = 'Electronics Industry' OR Name = 'NWPU Press');

2.
SELECT Name
FROM Publisher
WHERE PublisherID IN (SELECT PublisherID
			FROM Book
			WHERE Book.title = 'Database Systems');



I used select relational operation, which can return the special colomn of the table.
I select the price and title from the table book when its PublisherID is selected in the table publisher whose name is 'Electronics Industry' or 'NWPU Press'.
I use the same relational operation to know a publisher which has special book.

⌨️ 快捷键说明

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