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.
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
The statements can be interpreted as 1 Find the Supplier names of the suppliers ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
960-C-S-D (2430).docx
120 KBs Word File
