我在使用日期而不是子查询时看到了对此的回复。我有以下
SELECT *
FROM `TEST`
where `ID` BETWEEN
(SELECT `ID` FROM `TEST` WHERE `Home_Team`
REGEXP 'saturday|sunday|monday|tuesday|wednesday|thursday|friday'
order by ID asc LIMIT 1)
AND
(SELECT `ID` FROM `TEST` WHERE `Home_Team`
REGEXP 'saturday|sunday|monday|tuesday|wednesday|thursday|friday'
order by ID asc LIMIT 1,1)
我希望结果不具有包容性。不幸的是,我对任何 < > = 都没有任何运气