Q. What is the purpose of a subquery in SQL?

A
Join tables
B
Filter data using a nested query
C
Sort results
D
Aggregate data
Solution:

A subquery is a query nested within another query, used to filter or compute intermediate results.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!