mysql 逻辑表达式化简


求化简
select * from t where ((begintime<endtime and hour(now())<endtime and hour(now())>=begintime) or (begintime>endtime and (hour(now())<endtime or hour(now())>=begintime)))

mysql mysql优化

slikine 10 years, 5 months ago

Your Answer