Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
89 views
in Computer by (67.9k points)
closed by

Consider the following relation table: 

table(theatre, address capacity) 

What should be written at the end of this query 

Select P1.address 

From table P1 

Such that it returns the theatre with maximum capacity?

(A) Where capacity > = ALL( select P2.capacity from table p2

(B) Where capacity > = ANY( select P2.capacity from table p2

(C) Where capacity > ALL( select P2.capacity from table p2

(D) Where capacity > ANY( select P2.capacity from table p2)

1 Answer

+1 vote
by (69.0k points)
selected by
 
Best answer

(A) Where capacity > = ALL( select P2.capacity from table p2

Inner query collects capacities of all the theatres and in outer query we are filterin the tuples with the condition “capaicty > = All”. So the theatres which are having maximum capacity will be satisfy the conductivity and they will.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...