1.

Consider a relational table r with sufficient number of records, having attributes A1, A2,... An, let 1 p n . Two queries Q1 and Q2 are given below.
Q1 = A1 ...............Ap where c is constant .
Q2 = A1 ...............Ap ( c1 Ap c2 ) and c1 and c2 are constants.
Which of the following statements is true?
(a) Ordered indexing will always outperform hashing for both queries
(b) Hashing will always outperform ordered indexing for both queries

A. Only a
B. Only b
C. Both a and b
D. None of the above
Answer» D. None of the above


Discussion

No Comment Found

Related MCQs