Question

In SQL, which of the following best describes the role of a subquery within a SELECT statement?

A A subquery is used to update data in a table based on conditions in another table.
B A subquery acts as a standalone query that doesn’t interact with the main query.
C A subquery is used to filter or aggregate data within the main query.
D A subquery can only be used to retrieve a single value.
E A subquery is not supported in SQL queries.
Practice Next

Hey! Ask a query