QUERY PLAN
Aggregate (cost=5183.66..5183.67 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..5061.93 rows=48693 width=0)