Re: if-then-else expression in SELECT list
From: Roya Mehrfar <roya_mehrfar_at_qmbridge.calstate.edu>
Date: 1996/07/30
Message-ID: <31FDEEEC.1C5D_at_qmbridge.calstate.edu>#1/1
Date: 1996/07/30
Message-ID: <31FDEEEC.1C5D_at_qmbridge.calstate.edu>#1/1
This is the syntax of the decode statement
decode(A,B,<true result>, <false result>)
that means if you select this decode and A=B you select the true
result and if A<>B you select the false result.