How to retrieve the column name which has maximum value by comparing the values from multiple columns using 'Case' statements
For eg : there are more than 10 columns .
A B C D E Result
1 2 3 1 5 E
column E has the highest no and in the result column i should get 'E' as the answer.
Here A B C D E Result are columns .. By comparing the values from A,B,C,D,E i should get the column name which has maximum no in the result column using Case expression.