Question: Consider the Supplier-Parts-Catalog schema from the previous question. State what the following queries compute: 1. sname(sid((color = 'red' Parts) (cost <100Catalog)) Suppliers) 2.

Consider the Supplier-Parts-Catalog schema from the previous question. State what the following queries compute:
1. πsname(πsid((σcolor = 'red' Parts) ⪻⪼ (σcost<100Catalog)) ⪻⪼ Suppliers)
2. πsname(πsid((σcolor = 'red' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers))
3. (πsname((σcolor = 'red' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers)) ∩
(πsname((σcolor = 'green' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers))
4. (πsid((σcolor = 'red' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers)) ∩
(πsid((σcolor = 'green' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers))
5. πsname((πsid,sname((σcolor = 'red' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers)) ∩
(πsid,sname((σcolor = 'green' Parts) ⪻⪼ (σcost<100Catalog) ⪻⪼ Suppliers)))

Step by Step Solution

3.59 Rating (170 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The statements can be interpreted as 1 Find the Supplier names of the suppliers ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

960-C-S-D (2430).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!