Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/10/2007, 03:38
Avatar de Taribo007
Taribo007
 
Fecha de Ingreso: agosto-2007
Mensajes: 1.338
Antigüedad: 16 años, 9 meses
Puntos: 18
Re: Ayuda con Group By

Prueba asi:

SELECT Count(Datelog) AS CuentaDeDatelog, Year([datelog]) AS año, Month([datelog]) AS mes
FROM EVENTOS_TOTAL
GROUP BY Year([datelog]), Month([datelog]);

UN saludo