I am comparing two tables "A" and "B" in which I want to compare values of columns with the same meaning, but are written in different ways.
The table "A" has the column "Mes_ano" and has values "jan, fev, mar, abr ..." while in table "B" has column "Months_promotion" and has random values of 01 to 12.
How can I make these correlations via SQL by picking "Funcionario_mes" from table "A" when "fev" from table A corresponds to "02" from table "B"?
The result of SQL should bring only the months quoted in table "B". Could someone help me?