QUERY PLAN
Aggregate (cost=813.85..813.86 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..794.88 rows=7588 width=0)