Question: Write queries in SQL for the following: S ( S# , SNAME, STATUS, CITY) - Primary key: S# P ( P# , PNAME, COLOR, WEIGHT,

Write queries in SQL for the following:

S (S#, SNAME, STATUS, CITY) - Primary key: S#

P (P#, PNAME, COLOR, WEIGHT, CITY) - Primary key P#

J (J#, JNAME, CITY) - Primary key J#

SPJ (S#, P#, J#, QTY) - Primary key S#,P#,J#

ADDITIONAL INFO:

S Supplier

P- Part

J - PROJECT

SPJ SUPPLIER-PART-PROJECT (The ternary relationship)

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!