摘要: 两种写法。如图,4种重合情况和2种不重合情况。 第一种写法: -- 时间段 a,b SELECT * FROM table WHERE (start_time >= a and end_time <= b) -- 被包含了 or (end_time >= a and end_time <=b) or 阅读全文
posted @ 2021-04-11 17:32 小旭的blog 阅读(1287) 评论(0) 推荐(0)