这个可以用case when score<60 then 'xxx' end xxx里面加入颜色等样式代码,在前台突出表现
似乎不可以,我的表如下 staff_id dept_code 11102 114 11103 114 11114 116select staff_id ,case when dept_code=114 then '#990033' end from prl_epay_staff 结果 staff_id case when dept_code=114 then '#990033' end 11102 #990033 11103 #990033 11114 null
xxx里面加入颜色等样式代码,在前台突出表现
staff_id dept_code
11102 114
11103 114
11114 116select staff_id ,case when
dept_code=114 then '#990033' end
from prl_epay_staff 结果
staff_id case when dept_code=114 then '#990033' end
11102 #990033
11103 #990033
11114 null