QUERY PLAN
HashAggregate (cost=788.05..788.68 rows=63 width=4)
Group Key: s.created_by
-> Hash Join (cost=333.71..767.07 rows=8394 width=4)
Hash Cond: (ccr.reimbursement_id = s.id)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..411.31 rows=8394 width=4)
Filter: (user_id = 1001)
-> Hash (cost=228.87..228.87 rows=8387 width=8)
-> Seq Scan on tbl_reimbursements s (cost=0.00..228.87 rows=8387 width=8)