What is a subquery?

Duyên Trương

New member
What is a subquery?
A. A subquery is a select-from-where expression that is nested within another query
B. A subquery is any query that is nested within another query
C. A subquery is a relation that is externally specified which can be used to handle data in queries
D. A subquery is a condition that excludes all the invalid tuples from the database
 
Answer: a
Explanation: A subquery is a select-from-where expression that is nested within another query. Common uses for sub-queries are to perform tests for set membership, make set comparisons etc.
 

Tìm kiếm

Back
Top