![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信
文章平均质量分 87
localhostAND
select *
from test_table
where (startTime >= a AND startTime <= b) OR
(startTime <= a AND endTime >= b) OR
(endTime >= a AND endTime <= b)
展开