QUERY PLAN
HashAggregate (cost=131.78..132.09 rows=31 width=4)
Group Key: created_by
-> Seq Scan on tbl_approves r (cost=0.00..126.22 rows=2222 width=4)