My users table currently has a field sex which is either 1 or 2. I want to convert those values to "F" or "M" and put them into a different column. Is there any way to do this in mySQL?
I can write Ruby code to do this in the console, but I have on the order of 100K users and don't want to stall production while I loop.
CASE WHEN