Advertisements
Advertisements
Question
The purpose of WHERE
clause in a SQL statement is to ______.
Options
Create a table.
Filter rows based on a specific condition.
Specify the columns to be displayed.
Sort the result based on a column.
MCQ
Fill in the Blanks
Solution
The purpose of WHERE
clause in a SQL statement is to filter rows based on a specific condition.
Explanation:
- To filter rows in a query according to a particular condition, utilize SQL's
WHERE
clause. - It enables you to retrieve only the rows that satisfy the given requirements.
shaalaa.com
Is there an error in this question or solution?