QUERY PLAN
Aggregate (cost=4484.46..4484.47 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4378.17 rows=42517 width=0)