QUERY PLAN
Aggregate (cost=81.32..81.33 rows=1 width=96)
-> Seq Scan on tbl_sales_contracts (cost=0.00..68.32 rows=1732 width=15)