Beginner Database Management Systems
Q28 / 100

What is a subquery?

Correct! Well done.

Incorrect.

The correct answer is B) A query nested inside another SQL query, used to provide data for the outer query

B

Correct Answer

A query nested inside another SQL query, used to provide data for the outer query

Explanation

Subqueries can appear in SELECT, FROM, WHERE, and HAVING clauses. Example: SELECT * FROM employees WHERE salary > (SELECT AVG(salary) FROM employees).

Progress
28/100