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

📄 rel-ops.txt

📁 软件工程 卡耐基 数据库 ssd7 ex1
💻 TXT
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -