In table Colors, there is a Color column. I need to make 5 updates to the values in this column based on different conditions.
SET Color = 'Blue' WHERE Color = 'blue'
SET Color = 'Green' WHERE Color = 'green'
SET Color = 'Yellow' WHERE Color = 'yellow'
SET Color = 'Brown' WHERE Color = 'brown'
SET Color = 'Orange' WHERE Color = 'orange'
Can I make these 5 updates to the table in one query?
Note: my real values are more complex than this, so disregard simple functions to make the values uppercase