MySQL查询当前系统时间在 开始时间和结束时间之间

时间:2024-02-25 09:05:25

SELECT *
from c_test
where startTime < CURRENT_DATE and endTime > CURRENT_DATE

相关文章