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 →
合計を計算します。数値に対してのみ使用できます。
sum(num)
num
(U)Int*
Float*
Decimal*
CREATE TABLE employees ( id UInt32, name String, salary UInt32 ) ENGINE = Memory; INSERT INTO employees VALUES (87432, 'John Smith', 45680), (59018, 'Jane Smith', 72350), (20376, 'Ivan Ivanovich', 58900), (71245, 'Anastasia Ivanovna', 89210); SELECT sum(salary) FROM employees;
┌─sum(salary)─┐ │ 266140 │ └─────────────┘
このページは役に立ちましたか?