select table2.code from table2 inner join table1 on table1.item = table2.item;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)