WHERE clause of SELECT
The WHERE clause can specify join conditions for Informix®-extension joins, post-join filters for ANSI-compliant joins, and for search criteria on data values.
This syntax fragment is part of the SELECT statement.
(explicit id whcl004)
whcl004
(explicit id whcl005)
whcl005
(explicit id whcl006)
whcl006
(explicit id whcl007)
whcl007
(explicit id whcl008)
whcl008
WHERE Clause
WHERE
{ | <Condition> [] | <Join> [] | <Function Expression> [] | ( subquery ) | { ( <Collection Subquery> [] ) | <Statement Local Variable Expressions> [] } }
| Element | Description | Restrictions | Syntax |
|---|---|---|---|
| Logical_ Operator | Combines two conditions | Valid options are logical union (= OR or OR NOT) or logical intersection ( = AND or AND NOT) | Conditions with AND or OR |
| subquery | Embedded query | Cannot include the FIRST or ORDER BY keywords | SELECT statement |
4 See Collection Subquery