MySQL-查询字段时间等于周几

SELECT  * FROM table  where `时间字段`   date_format(时间字段 ,'%w') IN(2,5) ORDER BY id DESC;

posted @ 2020-12-28 10:10  没有如果Z  阅读(187)  评论(0编辑  收藏  举报