I have this table below which has N rows. here i simplify it to 3 rows.
Example Table
A B C D
5.640700669769904 5.623475843268976 5.644739934022418
5.62489798487818 5.581388826442135 5.62376476667017
5.62708139972593 5.606610562903928 5.592366625377977
i need to find the new column D which consists of the maximum of the row for columns A,B,C.
in MYSQL MAX(X) only applies to the column. How would i solve this problem?
I have tried with sub tables but no luck.