Simple expressions

Simple expression can be either 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.

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

Constant expression

A constant expression represents a simple value by using literals.

  1. constant_expression ::= string | number

NULL

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

  1. null_expression ::= NULL

See also