QUERY PLAN
HashAggregate (cost=705.91..706.53 rows=62 width=4)
Group Key: s.created_by
-> Hash Join (cost=304.28..687.06 rows=7543 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..362.96 rows=7543 width=4)
Filter: (user_id = 1001)
-> Hash (cost=208.57..208.57 rows=7657 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..208.57 rows=7657 width=8)