Home › SQL Tutorial › SQL WHERE
SQL WHERE
Filter rows with a condition.
WHERE keeps only the rows that match. Text values go in single quotes. Operators: =, <>, >, <, >=, <=.
Example code
SELECT name, city FROM Customers
WHERE country = 'UK';