I have a table that has several columns. The value of one column is 0 or 1. I want to write a query that returns “Hello” if the value was 0, or “Bye” if it was 1.
What is the appropriate way to write this query?
I have a table that has several columns. The value of one column is
Share
Use a
CASEexpression