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

Similar Questions

A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ
Choose the word that is opposite in meaning to the word “coherent”.
#5 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......