"Jrg Holetschek" <mail2holly(at)gmx(dot)de> writes:> CASE> WHEN ((focus <> NULL) AND (epilepsy_class = 'f')) THEN> TRUE
Try "focus IS NOT NULL".
regards, tom lane