QUERY PLAN
Aggregate (cost=8812.80..8812.81 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..8659.44 rows=61344 width=0)