Question: Exercise for ch7 1. There are 3 relations in the database: Table for suppliers: S(Sno, Sname, Status, City) Parts table: P(Pno, Pname, Color, Weight) Parts

 Exercise for ch7 1. There are 3 relations in the database:

Exercise for ch7 1. There are 3 relations in the database: Table for suppliers: S(Sno, Sname, Status, City) Parts table: P(Pno, Pname, Color, Weight) Parts supply table: SP( Sno, Pno, Qty). 2. Write following queries on above three tables in tuple relational calculus: Find the suppliers who supply part numbered 'P3' Find the suppliers who can provide all parts that supplier 'Sl' provided. Find the suppliers who do not provide parts P1' or 'P2' Find the suppl who provide both P1' and 'P2' Find all parts that are provided by the suppliers who are at the same city with supplier 'S1' Find suppliers that provide red parts with quantity larger than 1000

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!