Helpful Information
 
 
Category: MySQL Help
max value

Hello

I have a problem with the maximum value. I have a column with the values 8, 10, 20 and 50.

With the SQL statement
select (max) columnname from tablename

I get the result that 8 is the maximum value.

Does anyone know a solution for this problem

Thank you

Sounds to me like you have the column set up as some sort of text type rather than numeric.










privacy (GDPR)