Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/12/2008, 11:45
Avatar de Highlander
Highlander
 
Fecha de Ingreso: junio-2006
Ubicación: Concepción, Chile
Mensajes: 475
Antigüedad: 17 años, 11 meses
Puntos: 4
Respuesta: Orden Select segun campo correlativo y fecha

Gracias pero eso lo probe, al final me respondere yo mismo:

Código:
SELECT * FROM venta ORDER BY DATE_FORMAT(FECHAV,'%Y/%m') DESC, NVENTA DESC LIMIT $inicio, $registros
Simplemente no tome en cuenta el dia, solo el año y el mes y asi queda bien el ordern correlativo para cada mes.