mysql> delete from access_log 
where to_days(now()) - to_days(when) >= 14;