2007/6/13, Ricardas S <[EMAIL PROTECTED]>:
Ops, small mistake, shoud be
MAX((col1*(MAX_VALUE_OF_COL2+1)+col2)*(MAX_VALUE_OF_COL3+1)+col3)
Sorry, my question is ashamed.
Example, I've this row :
Col1 | Col2 | Col3
1 | 5 | 8
6 | 2 | 4
12 | 13 | 6
After my query, I would like this :
Max_value_col
6
8
13
Well, I would like MAX value of cols of one row, not on all the column.
I don't know if my explication it more clear.
Stephane
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]