Is there an ANSI SQL equivalent to Oracle\'s DECODE function?
Oracle\'s decode function is the IF-THEN-ELSE construct in SQL.
adding it up null can be compared in decode whereas in case it is not.