- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
...
CASE
WHEN u11.uda_value <> 11 THEN 0
WHEN u11.uda_value = 11 THEN 0
WHEN i.dept in (233, 369) THEN 0
WHEN i.dept not in (233, 369)
ELSE 0
END
...