QUERY PLAN
Aggregate (cost=4590.80..4590.81 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..4497.04 rows=37504 width=0)