SUM (Lakehouse v2)
グループ内のすべての値の合計を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.sum(get_column(table, 'amount'))Analyzeの例
Section titled “Analyzeの例”func.sum(get_column(table, 'amount'))SQLの構文
Section titled “SQLの構文”SUM(<amount>)SELECT department, SUM(salary) FROM employees GROUP BY department;
┌────────────┬─────────────┐│ department │ sum(salary) │├────────────┼─────────────┤│ Sales │ 195000 ││ IT │ 246000 ││ HR │ 210000 │└────────────┴─────────────┘