You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Case expression is similar to Switch Expression in many languages, it's return the value of the first branch that has condition evaluated to true, if not branch found it will return the default value
2
2
3
3
```sql
4
-
SELECT name FROM branches WHERE (CASE WHERE isRemote THEN 1 ELSE 0 END) >0
4
+
SELECT name FROM branches WHERE (CASE WHEN isRemote THEN 1 ELSE 0 END) >0
0 commit comments