QUERY PLAN
Aggregate (cost=8804.04..8804.05 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..8650.83 rows=61283 width=0)