Get the project names that use at least 4 different parts


I have homework that gives me these four tables:   

  • SUPPLIERS (SUP#, SNAME, STATUS, CITY)
  • PARTS (PART#, PNAME, COLOR, WEIGHT, CITY)
  • PROJECT (PROJ#, PROJNAME, CITY)
  • SHIPMENT (SUP#PART#PROJ#, QUANTITY)

I need help with making these queries:

  • Get the Project names that use at least 4 different Parts shipped by any suppliers. (HINT: S1 ships P1, P2 and P3 means that S1 can ship 3 different Parts.)
  • Get all the colors that are NOT shipped to Project J1.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Get the project names that use at least 4 different parts
Reference No:- TGS02508544

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)