QUERY PLAN
GroupAggregate (cost=288.34..288.50 rows=8 width=36)
Group Key: work_log_id
-> Sort (cost=288.34..288.36 rows=8 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..288.22 rows=8 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{37029,37028,37026,37018,37016,34645,33903}'::integer[])))