WHERE clause of SELECT
The WHERE clause can specify join conditions for HCL OneDB™-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.
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 |