mysql 查询前2天的数据

SELECT * FROM table where create_datetime >= now()-interval 2 day 

posted @ 2021-03-05 12:30  CC小骨  阅读(368)  评论(0)    收藏  举报