Join two tables where a column like column b

I need to join two tables where a column from table b matches the code from table 1. This is a payment checking system...