QUERY PLAN
Aggregate (cost=1131.04..1131.05 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..1103.63 rows=10963 width=0)