QUERY PLAN
Aggregate (cost=81.56..81.57 rows=1 width=96)
-> Seq Scan on tbl_sales_contracts (cost=0.00..68.46 rows=1746 width=15)