QUERY PLAN
HashAggregate (cost=945.75..946.38 rows=63 width=4)
Group Key: s.created_by
-> Hash Join (cost=492.61..924.85 rows=8359 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..410.29 rows=8359 width=4)
Filter: (user_id = 1001)
-> Hash (cost=387.27..387.27 rows=8427 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..387.27 rows=8427 width=8)