1.

Consider the following relation.Cinema (theater, address, capacity)Which of the following options will be needed at the end of the SQL querySELECT P1.addressFROM Cinema P1such that it always finds the addresses of theaters with maximum capacity?

A. WHERE P1.capacity >= All (select P2.capacity from Cinema P2)
B. WHERE P1.capacity >= Any (select P2.capacity from Cinema P2)
C. WHERE P1.capacity > All (select max(P2.capacity) from Cinema P2)
D. WHERE P1.capacity > Any (select max(P2.capacity) from Cinema P2)
Answer» B. WHERE P1.capacity >= Any (select P2.capacity from Cinema P2)


Discussion

No Comment Found

Related MCQs