QUERY PLAN
HashAggregate (cost=690.06..690.67 rows=61 width=4)
Group Key: s.created_by
-> Hash Join (cost=298.09..671.55 rows=7402 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..354.02 rows=7402 width=4)
Filter: (user_id = 1001)
-> Hash (cost=204.15..204.15 rows=7515 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..204.15 rows=7515 width=8)