I\'m writing an SQL Query, where a few of the columns returned need to be calculated depending on quite a lot of conditions.
I\'m currently using nested case stateme
You can combine multiple conditions to avoid the situation:
CASE WHEN condition1 = true AND condition2 = true THEN calculation1 WHEN condition1 = true AND condition2 = false ELSE 'what so ever' END,