QUERY PLAN
Aggregate (cost=7993.39..7993.40 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..7854.71 rows=55471 width=0)