QUERY PLAN
HashAggregate (cost=72.65..72.90 rows=25 width=4)
Group Key: created_by
-> Seq Scan on tbl_sales_contracts (cost=0.00..68.32 rows=1732 width=4)