Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/05/2006, 10:04
Avatar de PequeñoMauro
PequeñoMauro
 
Fecha de Ingreso: abril-2006
Ubicación: Lima - Perú
Mensajes: 600
Antigüedad: 18 años, 1 mes
Puntos: 3
Especifiquemos algo más:
select fecha,count(*)
from tabla
where fecha1>=dato AND dato<=fecha2 and date_format(dato,'%a')='Sun'
group by fecha;

Ahora si, espero que te ayude, no se si eso deseas...
__________________
"Nada en mis manos traigo tan solo a tu cruz me aferro....."