Condition

An expression can be any of the following:

The operators used within conditions include:

Condition Evaluation

Using Parentheses

where (first_name = 'STEVEN' or last_name = 'YOUNG')
	and create_date > '2006-01-01';

Not Operator

where not (first_name = 'STEVEN' or last_name = 'YOUNG')
	and create_date > '2006-01-01';

where (first_name <> 'STEVEN' and last_name <> 'YOUNG')
	and create_date > '2006-01-01';

Condition Types

Equality

DELETE FROM rental
WHERE year(rental_date) = 2004;