9d58106a Advances in Databases
9d58106a Advances in Databases
net
Code: 9D58106a
L D
R
Parts ( pid: integer, pname: string, color: string)
Catalog ( sid: integer, pid : integer, cost: real)
The key fields are underlined. Write the following queries in relational algebra and
domain relational calculus:
O
(i) Find the sids of suppliers who supply every part.
W
(ii) Find the sids of suppliers who supply some red part.
(iii) Find the pids of parts supplied by atleast two different suppliers.
4
U
(a) Explain heuristic optimization of query trees.
(b) How to test conflict serializability of a schedule? Illustrate with examples.
T
(a) What are intention locks? Explain the types of intention locks.
6
J N
(b) Explain the ARIES recovery algorithm.
*****
www.jntuworld.com