Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从现在到 4 周后的 mysql 表“课程”中选择日期,其中 Open='1' 并按日期和时间排序?
SELECT * FROM Courses WHERE Open='1' AND Date BETWEEN CURDATE() AND CURDATE() + INTERVAL 4 WEEK ORDER BY Date, Time
未测试