If else condition with select inside SQL

前端 未结 0 903
日久生厌
日久生厌 2020-11-30 22:42

Hello I am not sure about my query :

IF((SELECT table2.active FROM table2) = 0)
    SELECT table2.price FROM table2
ELSE IF ((SELECT table2.active FROM table2         


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