What SQL clause is used to restrict the rows returned by a query?
Correct answer
B. WHERE
16 views
B. WHERE
16 views
The SQL clause used to restrict the rows returned by a query is the WHERE clause. The WHERE clause is commonly used to filter records based on a specified condition, allowing you to retrieve only the rows that meet certain criteria.
SELECT column1, column2, ... FROM your_table WHERE your_condition;
Not sure why the answer is B? Ask here and get an explanation.