啥意思啊 ,两个字段拼接起来
where
date ='2021-10-10'
and
time >='3:00:00' and <='8:00:00'
截个栗子先
直接限制两个字段的时间就行了
where date>='2021-10-10'
and date <='2021-10-10'
and time >='15:00:00'
and time <='19:30:00'