QUERY PLAN
Aggregate (cost=4186.04..4186.05 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4100.03 rows=34403 width=0)