You must submit a signed copy of the following page with your exam.
YOU MUST SHOW YOUR WORK TO RECEIVE FULL CREDIT!!!
Supplier (id: integer, name: string(20), address: string(50)) - id is unique Part (id: integer, color: string(10), name: string(20), cost: real) - id is unique Contractor (id: integer, name: string(20), address: string(50)) - id is unique Project (id: integer, cid: integer, budget: real, duedate: date) - id is unique - cid is a foreign key referring to Contractor Order (projid: integer, partid: integer, suppid: integer, quantity: integer) - the combination of projid, partid, suppid is unique - projid is a foreign key referring to Project - partid is a foreign key referring to Part - suppid is a foreign key referring to Supplier
Construct the following queries: