It is used to extract only those records that fulfill a specified condition.
Below is a selection from the "Customers" table in the Northwind sample database:
The following SQL statement selects all the customers from "Mexico":
SQL requires single quotes around text values (most database systems will also allow double quotes). However, numeric fields should not be enclosed in quotes:
The following operators can be used in the WHERE clause: