QUERY PLAN
Aggregate (cost=5282.75..5282.76 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..5158.80 rows=49580 width=0)