QUERY PLAN
Aggregate (cost=3553.29..3553.30 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..3470.43 rows=33143 width=0)