QUERY PLAN
Aggregate (cost=844.41..844.42 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..824.73 rows=7873 width=0)