Apache Tajo - AVG(exp)



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

Query

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

Result

The above query will generate the following result.

avg 
------------------------------- 
75.5

The above query returns the average of marks from mytable.

apache_tajo_aggregate_and_window_functions.htm
Advertisements