This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I have a table with an ID in first column and numbers in the rest of the columns. I would like to create another column "R_ID", where for each row, it would look for the biggest number of the row and put in my R_ID the name of the column that contained the biggest number of the row.
For example :
ID colA colB colC => R_ID
l1 34 -5 12 colA
l2 6 10 4 colB
Do you have an idea about how to create such a "R_ID" colum?