QUERY PLAN
HashAggregate (cost=708.22..708.84 rows=62 width=4)
Group Key: s.created_by
-> Hash Join (cost=306.59..689.36 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=210.15..210.15 rows=7715 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..210.15 rows=7715 width=8)