QuestionQ21

Essential Commands

Which keyword is used to limit the records returned by a SELECT SQL statement, based on given criteria applied to the values in those records?

  • A CASE
  • B FROM
  • C WHERE
  • D IF
Explanation

The WHERE clause in SQL is used to filter rows returned by a SELECT statement, restricting results to only those records that meet a specified condition on column values. FROM specifies the source table, CASE provides conditional logic for computing values within a result set, and IF is not a standard SQL row-filtering clause. See Microsoft's SQL documentation on the WHERE clause for SELECT statements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!