一、利用TO_DAYS函數函數
to_days(now())- to_days(modified)<=30
二、利用DATEDIFF函數code
select datediff(now(),'20150414')date