QUERY PLAN
Aggregate (cost=4167.82..4167.84 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4069.06 rows=39506 width=0)