I need to make it so if sm.mediaCode is 0 then stm.mediaCode will have a value like 'personal'. Im not allowed to use Case

后端 未结 0 1457
独厮守ぢ
独厮守ぢ 2020-12-17 23:15
select camp.campaignCode,CampaignName, beginDate, endDate, leadingCampCode,
isnull(sm.mediaCode,0) \'Social Media\', isNull(stm.mediaCode,0) as \'Personal\'
from [db         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题