Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/04/2012, 08:41
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: Contar un rango de horas

La query puede ser así:
Código MySQL:
Ver original
  1. select * from table where (hora_ini >= 8 and hora_fin <= 10)
Saludos
__________________
Fere libenter homines, id quod volunt, credunt.