#查询本周记录 select * from product_process where WEEKOFYEAR(update_time)=WEEKOFYEAR(now()); #查询本月数据 select * from product_process where MONTH(update_time)=MONTH(NOW()) and year(update_time)=year(now()); #查询本季度数据 select * from product_process where QUARTER