Question
S(S#,SNAME,STATUS,CITY) P(P#,PNAME,COLOR,WEIGHT,CITY) SP(S#,P#,QTY) Answer the following questions using the query language (Relational Multiple Analysis (TRC), Relational Algebra or SQL) given on the left. A.[Relational Algebra]
S(S#,SNAME,STATUS,CITY)
P(P#,PNAME,COLOR,WEIGHT,CITY)
SP(S#,P#,QTY)
Answer the following questions using the query language (Relational Multiple Analysis (TRC), Relational Algebra or SQL) given on the left.
A.[Relational Algebra] Bring at least the vendor names of the vendors providing all parts provided by the S2 vendor.
B.[Relational Algebra] Bring the provider names of providers that provide at least one red piece.
C. [TRC] Bring the supplier names of providers who do not provide the P2 part.
D. [TRC] Bring the vendor names of the vendors that provide all the parts.
E. [SQL] Bring part numbers of parts supplied by more than three suppliers.
F. [SQL] Obtain the average of the total amount of parts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started