日期偏移INTERVAL * DAY

select DATE_FORMAT(date_sub(now(), INTERVAL 1 DAY),'%Y-%m-%d 00:00:00');date
相关文章
相关标签/搜索