I have a mapping table t2 that looks like so:
and a table that I\'m interested in creating the cases (I\'m showing part of the entire table):
So far I