QUERY PLAN
Aggregate (cost=955.81..955.82 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..932.85 rows=9185 width=0)