Consider the Supplier-Parts-Catalog schema from the previous question. State what the following queries compute: 1. sname(sid((color =

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. π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)))
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Database management systems

ISBN: 978-0072465631

3rd edition

Authors: Raghu Ramakrishan, Johannes Gehrke, Scott Selikoff

Question Posted: