Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/11/2009, 12:40
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Extraer registros que tengan fecha menos a 30 días de antiguedad

SELECT last FROM tutabla WHERE TIMESTAMDIFF(DAY, last, NOW()) < 30