Skip to main content

Numeric Functions

String Functions

Conditional Functions

IF(condition, true_value, false_value) — returns true_value when condition is truthy, otherwise false_value:

UUID

Generate a random UUID v4:

Date/Time Functions

These return strings, not native date objects. To compare against stored date strings, use standard string comparison operators.

Aggregate Functions

See Grouping and Aggregation for usage with GROUP BY and HAVING.

Not Supported

  • EXTRACT, DATE_ADD, DATE_DIFF, DATEDIFF, NOW()
  • CONVERT / CAST