Computer Sciences > Gate 2015 Set-3 > SQL Query
Consider the following relation

Cinema (theater, address, capacity)

Which of the following options will be needed at the end of the SQL query

SELECT P1. address FROM Cinema P1

Such 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)

Correct : SQL Query

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......