I have a set of one to one mappings A -> apple, B-> Banana and like that.. My table has a column with values as A,B,C..
Now I'm trying to use a select statement which will give me the direct result
SELECT
CASE
WHEN FRUIT = 'A' THEN FRUIT ='APPLE'
ELSE WHEN FRUIT ='B' THEN FRUIT ='BANANA'
FROM FRUIT_TABLE;
But I'm not getting the correct result, please help me..