The WHERE clause allows you to specify a search condition for the rows returned by a query.
SELECT
select_list
FROM
table_name
WHERE
search_condition;-
The
search_conditionis a combination of one or more expressions using the Logical Operators. -
In MySQL, a predicate is a Boolean expression that evaluates to
TRUE,FALSE, orUNKNOWN. -
The
SELECTstatement will include any row that satisfies thesearch_conditionin the result set. -
When executing a SELECT FROM statement with a
WHEREclause, MySQL evaluates theWHEREclause after theFROMclause and before theSELECTandORDER BYclauses:
