Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/02/2012, 07:35
Avatar de mackiechan
mackiechan
 
Fecha de Ingreso: junio-2009
Ubicación: Maracay, Venezuela
Mensajes: 51
Antigüedad: 14 años, 10 meses
Puntos: 12
Respuesta: Consulta Filtrar datos por id y por mes

Segun lei la consulta debe hacerse así:

Código MySQL:
Ver original
  1. SELECT * FROM tabla WHERE month(fecha)='10' AND year(fecha)='2010'