QUERY PLAN
Aggregate (cost=4349.12..4349.14 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4260.30 rows=35530 width=0)