WHERE clause to query records.
They compare the values of two or more expressions; whenever a record meets
the criteria defined in a predicate clause it will be marked as eligible
to be part of the query result set. If it meets all predicate clauses defined
within a query, it will be returned in the result set.
A single predicate clause may use a simple predicate operator to compare the
values of two expressions or a more complex predicate clause form. A
compound predicate clause uses a compound predicate operator to link
together multiple predicate clauses to further refine a result set.
Unlimited-width (non-charN) strings can only be used within
equality-based predicates, e.g. =, IN, etc.
Predicate Operators
=equality!=or<>inequality<less than<=less than or equal to>greater than>=greater than or equal to
Predicate Clauses
In the following list of predicate clauses,ref_expr is the reference
expression to apply the predicate to; note that EXISTS has no reference
expression.