Ver Mensaje Individual
  #2  
Antiguo 11-06-2004
Avatar de tcp_ip_es
tcp_ip_es tcp_ip_es is offline
No confirmado
 
Registrado: ago 2003
Ubicación: Madrid
Posts: 635
Reputación: 0
tcp_ip_es Va por buen camino
Sería algo asi, aunque no se de que tipo son tus campos hora y fecha
Código SQL [-]
select count(Fecha)
from tutabla
where (hora_entrada) >= 7 and (hora_salida<=1) 
group by Fecha

Saludos, Tony
Responder Con Cita