mysql 查询前2天的数据

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

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