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

MAP_VALUES



Returns the values in a map.

Syntax

MAP_VALUES( <map> )

Arguments

ArgumentsDescription
<map>The input map.

Return Type

Array.

Examples

SELECT MAP_VALUES({'a':1,'b':2,'c':3}); ┌─────────────────────────────────┐ │ map_values({'a':1,'b':2,'c':3}) │ ├─────────────────────────────────┤ │ [1,2,3] │ └─────────────────────────────────┘

Was this page helpful?