How to execute a complicated SQL case statement in Laravel

后端 未结 0 400
闹比i
闹比i 2020-12-19 15:05

I have got the following SQL query.

SELECT 
CASE
WHEN start_time > end_time AND (CURTIME() >start_time AND CURTIME() < end_time+24) THEN \'open\'
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题