QUERY PLAN
Aggregate (cost=519.69..519.70 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..507.55 rows=4855 width=0)