QUERY PLAN
Aggregate (cost=852.33..852.34 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..832.46 rows=7946 width=0)