CS-06 Data Base Management System June-2004
Q.4(a). Consider the following relations:
supplier (sid, sname, add)
parts (pid, pname, color)
catalog (sid, pid, cost)
(i)Find the parts supplied by Acme Widgets supplier only.
(ii)Find all the supplied who supply red or green parts.
(iii)Find the supplier who charges the most for any part.
(b) Two relations Rl and R2 are given in the tables below.
Student _ ID Course _ Code Marks
I1 c1 70
I2 Q2 50
I3 c3 40
I4 c4 20
I5 Q5 75
I6 Q6 90
Course_ID Course _Name
C1 DBMS
C2 DS
C3 DCN
les.
Use the relational algebraic operation to answer the following quer
(i) Course taken by student Ir
(ii) List all the students who have got more than 40 marks in course C..