This question already has an answer here:
is it possible to have more than one ELSE in the
CASE WHEN statement in the Expression builder in QGIS?
CASE WHEN "population" > 5000 THEN 'big' ELIF WHEN "population" > 1500 THEN 'medium' ELSE 'small' END
I know that this piece of code is totally wrong, but I'm not able to find an equivalent of
Some ideas? Am I looking at the problem in the wrong way?!