Apache Tajo - SUM(expression)



Let us now check sum(exp) function with the following query.

Query

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

Result

The above query will generate the following result.

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

The query returns the summation of marks from mytable. Total summation of mark column is 755.

apache_tajo_aggregate_and_window_functions.htm
Advertisements