How to convert varchar into double value in mysql
See, i have table column in varchar but it has only numbers. In that i want to select min max of the value.
Please check the below query, in which I'm getting a syntax error.
select
MAX(CAST(ch1 as INT)) as max_ch1,
MIN(CAST(ch1 as INT)) as min_ch1
from t9;
Please refer to below sqlfiddle