Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/02/2013, 00:15
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años
Puntos: 300
Respuesta: ordenar por parte de un campo

¿Has probado así?
Código MySQL:
Ver original
  1. SELECT id, rut FROM proveedor
  2. ORDER BY CAST(SUBSTRING(rut,1,CHAR_LENGHT(rut)-1) AS UNSIGNED) DESC