Apache Tajo - SUM( 表示式 )



現在讓我們使用以下查詢檢查 sum(exp) 函式。

查詢

sampledb> select sum(mark) as sum from mytable;   

結果

以上查詢將生成以下結果。

sum 
------------------------------- 
755 

該查詢返回來自 mytable 中分數的總和。分數列的總和為 755。

apache_tajo_aggregate_and_window_functions.htm
廣告
© . All rights reserved.