You could also add `ELSE 0` before the end, just t...
# general
j
You could also add
ELSE 0
before the end, just to see if the case statement is working.