I'm trying to concatenate the values of a column.
For EX:
select case when month=1 then month_name1
when month =12 then month_name2 END
from Calendar
where month in (1,12)
results:
Jan
Dec
Target results:
Jan - Dec
tried different ways but couldn't get it. looks very simple but hard luck. Thanks in advance.