GroupAggregate (cost=270.68..270.77 rows=4 width=36) |
Group Key: pre_sales_id |
-> Sort (cost=270.68..270.69 rows=5 width=9) |
Sort Key: pre_sales_id |
-> Seq Scan on tbl_reimbursements (cost=0.00..270.62 rows=5 width=9) |
Filter: ((status <> 4) AND (status <> 0) AND (pre_sales_id = ANY ('{1838,1839,1837,1836,1832}'::integer[]))) |