QUERY PLAN
GroupAggregate (cost=305.99..306.19 rows=10 width=36)
Group Key: work_log_id
-> Sort (cost=305.99..306.02 rows=10 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..305.83 rows=10 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{37033,37032,37029,37028,37026,37018,37016,34645,33903}'::integer[])))