QUERY PLAN
HashAggregate (cost=687.33..687.94 rows=61 width=4)
Group Key: s.created_by
-> Hash Join (cost=295.60..668.85 rows=7394 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..353.83 rows=7394 width=4)
Filter: (user_id = 1001)
-> Hash (cost=202.49..202.49 rows=7449 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..202.49 rows=7449 width=8)