QUERY PLAN
HashAggregate (cost=122.56..122.81 rows=25 width=4)
Group Key: created_by
-> Seq Scan on tbl_sales_contracts (cost=0.00..118.25 rows=1725 width=4)