QUERY PLAN
HashAggregate (cost=787.72..788.35 rows=63 width=4)
Group Key: s.created_by
-> Hash Join (cost=334.58..766.83 rows=8359 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..410.29 rows=8359 width=4)
Filter: (user_id = 1001)
-> Hash (cost=229.26..229.26 rows=8426 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..229.26 rows=8426 width=8)