Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
처음 N개 항목을 오름차순으로 정렬한 배열을 반환합니다.
groupArraySorted(N)(column)
N
UInt64
column
Any
Array
SELECT groupArraySorted(10)(number) FROM numbers(100);
┌─groupArraySorted(10)(number)─┐ │ [0,1,2,3,4,5,6,7,8,9] │ └──────────────────────────────┘
SELECT groupArraySorted(5)(str) FROM (SELECT toString(number) AS str FROM numbers(5));
┌─groupArraySorted(5)(str)─┐ │ ['0','1','2','3','4'] │ └──────────────────────────┘
이 페이지가 도움이 되었나요?