I have a table with columns ID, A, B, C, D, E... (10 numeric columns in all)
For each row, I need to find which column has the largest value, and what that value is.
E.G. Here's 1 row of my table:
ID A B C D E F G H I J
XY 5 4 9 5 0 1 3 2 1 7
I want to generate 2 new columns:
maxvalue, which would equal 9, and
maxcol, which would equal "C"
Any advice, beyond a massive IF statement?