I have a table like this
Table 1:
Code 1 2 3 4 1 2
I want to add a new column conditioning on the column code.
1