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','
相关文章
相关标签/搜索