Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/06/2005, 03:24
klyfa
 
Fecha de Ingreso: mayo-2005
Mensajes: 217
Antigüedad: 19 años
Puntos: 5
SELECT tbltemp.*,
month(tbltemp.fecha)as mes,
year(tbltemp.fecha)as anio,count(year(tbltemp.fecha)) FROM tbltemp
group by anio,mes

prueba si esto te sirbe,