IF-like function in Oracle?

Original text of this message