QUERY PLAN
Aggregate (cost=19.76..19.77 rows=1 width=32)
-> Seq Scan on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..19.75 rows=4 width=32)
Filter: (erp_cash_cost_ticket_id = 7)