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 →
count 与 Resample 组合器搭配使用示例
Resample
count
N
name
age
wage
CREATE TABLE employee_data ( name String, age UInt8, wage Float32 ) ENGINE = MergeTree() ORDER BY tuple() INSERT INTO employee_data (name, age, wage) VALUES ('John', 16, 10.0), ('Alice', 30, 15.0), ('Mary', 35, 8.0), ('Evelyn', 48, 11.5), ('David', 62, 9.9), ('Brian', 60, 16.0);
[30,60)
[60,75)
[30, 59]
[60,74]
SELECT countResample(30, 75, 30)(name, age) AS amount FROM employee_data
┌─amount─┐ │ [3,2] │ └────────┘
Resample 组合器
此页面对您有帮助吗?