I have a query that ultimately will return a column that might have the value “1”, “2”, or “3”, where 1 means RED, 2 means BLUE, and 3 means GREEN.
How can I modify the query so instead of returning 1, ‘RED’ is returned, for 2 ‘BLUE’ is returned, etc
I want my result to be something like:
COLOR
RED
RED
GREEN
BLUE
Instead of :
COLOR
1
1
3
2
1 Answer