OneDirect (India) interview question

How do you replace the data from two columns in a single SQL query?