Question: Given the database description below: Tb _ Supplier ( Supp _ ID , Name, City ) Tb _ Consumer ( Con _ ID , Name,

Given the database description below:
Tb_Supplier(Supp_ID, Name, City)
Tb_Consumer(Con_ID, Name, City)
Tb_Product(Prod_ID, Name, MU)
Tb_Offers(Supp_ID, Prod_ID, Quantity, Price)
Tb_Requests(Con_ID, Prod_ID, Quantity, Price)
Tb_Transactions(T_ID, Supp_ID, Con_ID, Prod_ID, Quantity, Price)
Solve the following queries using Except and Intersect:
1) Name of suppliers from Wausau or offering computers or offering oranges?
2) Name of suppliers who do not have an offer?
3) Name of suppliers offering cars and computers?
4) Products nobody purchased in Madison?
5) Cities where neither cars nor computers are offered?
6) Name of suppliers offering only cars and computers?
7) Name of products not offered in Chicago?
8) Name of products offered in Chicago, but not requested in Madison?
9) Name of suppliers that sold only cars and computers and only in Madison?
10) Name of products sold in Chicago, but not requested in Madison?
11) Name of suppliers that sold at most one product type (do not use the COUNT()
function)?
12)Supplier cities where none of the suppliers has any offers?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!