QUERY PLAN
Aggregate (cost=572.59..572.60 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..559.27 rows=5327 width=0)