Dove numero è un campo varchar (o comunque stringa), che contiene un numero.codice:SELECT * FROM `test_cast` ORDER BY CAST( numero AS SIGNED );
ciao
Dove numero è un campo varchar (o comunque stringa), che contiene un numero.codice:SELECT * FROM `test_cast` ORDER BY CAST( numero AS SIGNED );
ciao