← Back to Test

Problem 18 - Entrance Test

What is the primary function of the 'WHERE' clause in a SQL query?

Correct: B

The 'WHERE' clause in a SQL query is used to filter the rows returned by the query, based on a specified condition. This allows you to retrieve only the data that meets your criteria. Sorting is done with `ORDER BY`, joining with `JOIN`, and grouping with `GROUP BY`.