Mysql中if的用法

完整實例:web SELECT A.line, A.Station,A.tester, d.Product,d.SN,d.tdate,d.Result,d.Type, #用if判斷條件爲該查詢新增了一列 IF (ISNULL(d.Type),NULL,IF (d.Type = 'KGB'AND d.result = 'P'OR d.Type = 'KFB'AND d.result = 'F','
相關文章
相關標籤/搜索