QUERY PLAN
HashAggregate (cost=88.43..88.52 rows=9 width=4)
Group Key: created_by
-> Seq Scan on tbl_purchase_contracts (cost=0.00..83.74 rows=1874 width=4)