QUERY PLAN
Aggregate (cost=8824.85..8824.86 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..8671.28 rows=61428 width=0)