Oracle Tutorial

Decode Function Examples

Example 1

SELECT name,
decode(id, 1, 'Oracle9i', 2, 'Oracle10G', 3, 'Oracle11G' )
FROM tutorials;