This question already has an answer here:
- Convert text into number in MySQL query 9 answers
I want to order by price but type is varchar
my query = Select cost FROM table order by cost asc
result :
1.100.000
3.400.000
5.500.000
142.000
199.000
238.000
287.500
315.000
380.000
900.000
should:
142.000
199.000
238.000
287.500
315.000
380.000
900.000
1.100.000
3.400.000
5.500.000
How can I do it??
</div>