I have tried the below query but somehow it's not working for me. Can anyone tell me why?
Query :
SELECT column1
, column2
, IF(start <="20:00:00" AND end >= "20:00:00")
THEN (column3,column4,column5)
ELSE (column6,column7,column8)
END IF
, column9
, column10
FROM table_1
WHERE id ="1"