📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

RANGE



Returns an array collected by [start, end).

Syntax

RANGE( <start>, <end> )

Examples

SELECT RANGE(1, 5); ┌───────────────┐ │ range(1, 5) │ ├───────────────┤ │ [1,2,3,4] │ └───────────────┘

Was this page helpful?