QUERY PLAN
Aggregate (cost=377.85..377.86 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..369.28 rows=3428 width=0)