QUERY PLAN
Aggregate (cost=4142.56..4142.57 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4057.45 rows=34045 width=0)