Aggregate (cost=20.92..20.93 rows=1 width=32) |
-> Hash Join (cost=1.15..20.91 rows=3 width=32) |
Hash Cond: (r.erp_other_income_ticket_id = t.id) |
-> Seq Scan on tbl_erp_other_income_ticket_bank_ins r (cost=0.00..19.75 rows=4 width=36) |
Filter: (erp_bank_id = 1) |
-> Hash (cost=1.09..1.09 rows=5 width=4) |
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..1.09 rows=5 width=4) |
Filter: (status = ANY ('{2,5}'::integer[])) |