QUERY PLAN
GroupAggregate (cost=534.93..535.15 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=534.93..534.96 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..534.74 rows=11 width=9)
Filter: ((status = ANY ('{0,1,2,3}'::integer[])) AND (work_log_id = ANY ('{8808,8795,8794,8785,8780,8781,8777,8768,8767,8766}'::integer[])))