there also
might be a 3rd table in your sytem that is the intermediate table that already 'translates' this join for you without any coding. I would think it would be rare for that not to exist if it is a standard process in your production site to mark the records with the number + A,B,C nomenclature.
Just a thought.