Apache Tajo - COUNT()



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

Query

sampledb> select count() from mytable;   

Result

The above query will generate the following result.

?count 
------------------------------- 
10 

The query returns the count of the total number of rows. The table contains 10 rows so, the count result is 10.

apache_tajo_aggregate_and_window_functions.htm
Advertisements