MYSQL if statement question

前端 未结 2 1444
借酒劲吻你
借酒劲吻你 2021-01-23 11:56
Is there any way to get the if statement to evaluate a query?

SELECT if(5>0,\'EQ_Type\',\'*\') FROM EQUIPMENT;

Resulting in:
+-----------------------+
| IF(5>0,\'EQ_Type\',         


        
2条回答
提交回复
热议问题