select c.channel, c.channel_name , s.show_type, s.show_type_name
from T_CHANNEL_INFO c, T_SHOW_INFO s
where c.head_seq_no = s.head_seq_no
order by c.channel;
select distinct c.channel,
c.channel_name,
TO_CHAR(REPLACE((wm_concat(s.show_type)
over(PARTITION BY c.channel ORDER BY 1)), ',', ';')) AS show_type,
TO_CHAR(REPLACE((wm_concat(s.show_type_name)
over(PARTITION BY c.channel ORDER BY 1)), ',', ';')) AS show_type_name
from T_CHANNEL_INFO c, T_SHOW_INFO s
where c.head_seq_no = s.head_seq_no
order by c.channel;