34,873
社区成员
发帖
与我相关
我的任务
分享select
(case when datediff(day,publishdate,getdate())<14 then 'red' else color end )as color,
publishdate
from
contentsselect (case when datediff(day,publishdate,getdate())<14 then 'red' else color end )as color,
publishdate from contentsselect
(case
when datediff(dd,publishdate,getdate())<=14 then 'red'
else color
end) as color,
publishdate
from
contentswhen publishdate>getdate()-111 then 'RED'