QUERY PLAN
Aggregate (cost=1.02..1.03 rows=1 width=32)
-> Seq Scan on tbl_erp_other_income_ticket_purchase_contract_settles (cost=0.00..1.01 rows=1 width=32)
Filter: (erp_other_income_ticket_id = 17)