时间:2021-07-01 10:21:17 帮助过:19人阅读
a.SELECT * FROM xxx WHERE (startTime > a AND startTime < b) OR (startTime < a AND endTime > b) OR (endTime > a AND endTime < b)
b.SELECT * FROM xxx WHERE NOT ((endTime < a) OR (startTime > b))
校验时间冲突SQL写法
标签:not 冲突 gpo 校验 color 时间 sql xxx pos