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
Get step-by-step solutions from verified subject matter experts
