QUERY PLAN
GroupAggregate (cost=270.70..270.82 rows=6 width=36)
Group Key: work_log_id
-> Sort (cost=270.70..270.71 rows=6 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..270.62 rows=6 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{19054,18781,18780,18779,9096}'::integer[])))