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'] │ └──────────────────────────┘
このページは役に立ちましたか?