Aggregate (cost=26.32..26.34 rows=1 width=8) |
-> Append (cost=0.00..26.32 rows=2 width=0) |
-> Subquery Scan on "*SELECT* 1" (cost=0.00..12.98 rows=1 width=0) |
-> Seq Scan on tbl_erp_other_payment_tickets (cost=0.00..12.97 rows=1 width=198) |
Filter: ((contact_id = 3649) AND ((amount - settle_amount) > '0'::numeric)) |
-> Subquery Scan on "*SELECT* 2" (cost=0.00..13.33 rows=1 width=0) |
-> Seq Scan on tbl_erp_cost_tickets (cost=0.00..13.32 rows=1 width=198) |
Filter: ((contact_id = 3649) AND ((amount - settle_amount) > '0'::numeric)) |