You will need to convert the int value to varchar and concatenate it with 'A-' or get the numeric part of the varchar value and convert to int .
This is done a little differently, depending on which database you are using, for SQL Server it will look like this:
select t1.ID, t1.WHATEVER, t2.USER from Table1 t1 inner join Table2 t2 on t2.ID = cast(substring(t1.NAME, 3, 3) as int)
source share