QUERY PLAN
Aggregate (cost=5698.25..5698.26 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..5581.00 rows=46900 width=0)