Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/04/2012, 10:49
Avatar de hackjose
hackjose
 
Fecha de Ingreso: abril-2010
Ubicación: Edo Mexico
Mensajes: 1.178
Antigüedad: 14 años, 1 mes
Puntos: 131
Respuesta: Convinar AND y OR en mysql

Intenta con esto
Código MySQL:
Ver original
  1. select * from eventos where id_usuario = 1 and time_fin between 7000 and 300 and id_casilla in (2,3,5);