What I\'m trying to do is use more than one CASE WHEN condition for the same column.
Here is my code for the query:
SELECT Url=\'\',
case when a.REASONID in ('02','03','04','05','06') then case b.CALSOC when '1' then 'yes' when '2' then 'no' else 'no' end else 'no' end