QUERY PLAN
Aggregate (cost=3541.96..3541.97 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..3459.37 rows=33037 width=0)