select older than 60 days
SELECT id_notification FROM core_notification WHERE datetime_notification < DATEADD(day, -60, GETDATE());