Hello everyone i have the following row as a sample in my table
id      shop_id     start_time      end_time
1       21          10:00           11:00
and i want to check whether start_time and end_time exist in table or not I am using following query but not working correctly, Where i am wrong ?
select * 
  from usr_booking 
 where shop_id='21' 
   and start_time between '10:10:00' and '11:01:00' 
    or end_time   between '10:10:00' and '11:01:00'
 
     
     
     
     
     
    