Tuesday, May 24, 2011

DECODE

----- DECODE function...

SELECT name,decode(upper(sex), 'M', 'Male',
'F', 'Female', 'Unknown') sex
FROM employee;

No comments:

Post a Comment