Defining complex search conditions

 

In addition to the basic comparison predicates, such as = and >, a search condition can contain any of these predicates: BETWEEN, IN, EXISTS, IS NULL, and LIKE.

A search condition can include a scalar fullselect.

For character, or UCS-2 or UTF-16 graphic column predicates, the sort sequence is applied to the operands before evaluation of the predicates for BETWEEN, IN, EXISTS, and LIKE clauses.

You can also perform multiple search conditions.

 

Parent topic:

Retrieving data using the SELECT statement

 

Related concepts


Using subqueries
Sort sequences and normalization in SQL

 

Related reference


Specifying a search condition using the WHERE clause
Expressions in the WHERE clause
Predicates