I would like to get a string obeying a condition in MySQL.
For example I have a table with a column named descritor
that is populated with PT
or MT
, I'd like to get the string Português
to PT and Matemática
to MT
in a query. >
Example:
If descriptor = PT
then Português
If descriptor = MT
then Matemática