0

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?

For example:

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 ELIF..

Some ideas? Am I looking at the problem in the wrong way?!

marked as duplicate by SS_Rebelious, whuber Nov 28 '14 at 14:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Ok guys, I'm sorry..

The equivalent of ELIF is WHEN.

This question has been already answered here.

Sorry for the noise.

Not the answer you're looking for? Browse other questions tagged or ask your own question.