Código:
Sin embargo no me devuelve nada, si alguien sabe de algun manual o guia se lo agradecere mucho.SELECT t1.id_usuario,t1.nombre,t1.ap_paterno,t1.ap_materno from dat_personales as t1,u_loggin as t2 where to_days(now()) - to_days(t2.fecha) >= 30 and t2.correo=t1.id_usuario and t2.act = 'no'
Saludos.