oracle switch case
SELECT user_id, user_type_id,
CASE user_type_id
WHEN 1 THEN 'Jump'
WHEN 2 THEN 'Run'
WHEN 3 THEN 'Walk'
WHEN 4 THEN 'Sprint'
ELSE 'Stand Still'
END
FROM users;
or you can use decode :
SELECT
DECODE(1, 1, 'One')
FROM
dual;