QUERY PLAN
Aggregate (cost=18.39..18.40 rows=1 width=32)
-> Seq Scan on tbl_sales_contract_payment_collection_remind_dates (cost=0.00..18.38 rows=3 width=32)
Filter: (contract_id = 8)