QUERY PLAN
Aggregate (cost=816.11..816.12 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..797.09 rows=7609 width=0)