Skip to content
Advertisement

SQL Server case based off of another column

How could I go about using a case statement to set column final, based on column S?

The objective is to use any record that has a final, and also include any records from column S only if S = ‘Clogged’ and set final to ‘pending’.

Advertisement

Answer

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement