问题描述,比如:现在2016-8-3号,mysql有没有提供日期函数,可以获得三个月前的数据,2016-5-3号。
试试看date_sub(now(),interval 3 month)
date_sub(now(),interval 3 month)