QUERY PLAN
HashAggregate (cost=643.31..643.91 rows=60 width=4)
Group Key: s.created_by
-> Hash Join (cost=277.12..625.88 rows=6971 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..330.45 rows=6971 width=4)
Filter: (user_id = 1001)
-> Hash (cost=189.83..189.83 rows=6983 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..189.83 rows=6983 width=8)