Book Contents

Book Index

Next Topic

Home

WHERE Clause

Eliminates rows from the result table that do not satisfy one or more predicates.

Syntax

WHERE boolean-expression

Semantics

boolean-expression

is an expression that returns true or false. Only rows for which the expression is true become part of the result set.

The boolean-expression can include Boolean operators and the following elements:

BETWEEN-predicate

Boolean-predicate

column-value-predicate

IN-predicate

join-predicate

LIKE-predicate

NULL-predicate

Notes