Simple expressions

This page documents a preview version. v2.23 Preview
Preview includes features under active development and is for development and testing only.
For production, use the latest stable version (v2024.1).

A simple expression can be a column, a constant, or NULL.

Column expression

A column expression refers to a column in a table by using its name, which can be either a fully qualified name or a simple name.

column_expression ::= [keyspace_name.][table_name.][column_name]

Constant expression

A constant expression represents a simple value by using literals.

constant_expression ::= string | number

NULL

When an expression, typically a column, does not have a value, it is represented as NULL.

null_expression ::= NULL