Overview of search condition operators
You can use any standard SQL operators in a search condition. When you use operators in a search condition, the following rules apply:
name >= 'M'
), and some of the rows contain no value, those rows do not appear, no matter what comparison operator you use.Summary of search condition operators
The following table summarizes search condition operators that are defined for standard SQL.
Operator | Meaning | Grid pane example | SQL pane example |
---|---|---|---|
= | Equal. |
|
|
<> != |
Not equal to. |
|
|
> | Greater than. |
|
|
< | Less than. |
|
|
>= !< |
Greater than or equal to. |
|
|
<= !> |
Less than or equal to. |
|
|
BETWEEN expr1 AND expr2 |
Tests range of values. |
|
|
IS [NOT] NULL | Tests whether contents of column or result of expression is null. |
|
|
[NOT] LIKE | Performs pattern matching (usually restricted to character data types). |
|
|
expr1 [NOT] IN (val1, val2, …) – or – expr1 [NOT] IN (subquery) |
Matches list of specific values by testing whether expr1 appears either in a list of values or in the result set of a subquery. |
|
|
ANY (SOME) | Tests whether one or more rows in the result set of a subquery meet the specified condition. (ANY and SOME are synonyms; the Query Designer will use ANY when creating an SQL statement.) |
|
|
ALL | Tests whether all rows in the result set of a subquery meet the specified condition. |
|
|
[NOT] EXISTS | Tests whether a subquery returns any results whatsoever (not a specific result). |
|
|