For similar capabilities to Amazon Timestream for LiveAnalytics, consider Amazon Timestream for InfluxDB. It offers simplified data ingestion and single-digit millisecond query response times for real-time analytics. Learn more here.
Comparison operators
Timestream for LiveAnalytics supports the following comparison operators.
| Operator | Description |
|---|---|
|
< |
Less than |
|
> |
Greater than |
|
<= |
Less than or equal to |
|
>= |
Greater than or equal to |
|
= |
Equal |
|
<> |
Not equal |
|
!= |
Not equal |
Note
-
The
BETWEENoperator tests if a value is within a specified range. The syntax is as follows:BETWEEN min AND maxThe presence of
NULLin aBETWEENorNOT BETWEENstatement will result in the statement evaluating toNULL. -
IS NULLandIS NOT NULLoperators test whether a value is null (undefined). UsingNULLwithIS NULLevaluates to true. -
In SQL, a
NULLvalue signifies an unknown value.