This section contains reference documentation for the arraySortString function.
Last updated 2 years ago
Was this helpful?
Sorts array of strings.
arraySortString('colName')
These examples are based on the .
select FlightNum, arraySortString(RandomAirports) AS sortedAirports, RandomAirports from airlineStats WHERE arraylength(RandomAirports) BETWEEN 2 AND 4 limit 5
3846
PSC,SEA
SEA,PSC
3635
MSY,PHX,PSC,SEA
SEA,PSC,PHX,MSY
429
1206
5300