如何从现在到 4 周后的 mysql 表“课程”中选择日期,其中 Open='1' 并按日期和时间排序?
SELECT * FROM Courses
WHERE Open='1' AND Date BETWEEN CURDATE() AND CURDATE() + INTERVAL 4 WEEK
ORDER BY Date, Time
Not tested
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.