create table StringTable as
select 1 as ID,'A' as Val from dual
union all select 1,'x' from dual
union all select 2,'B' from dual
union all select 2,'x' from dual
union all select 2,'B' from dual
union all select 2,'x' from dual
union all select 3,'A' from dual
union all select 3,'K' from dual
union all select 4,'C' from dual
union all select 4,'C' from dual
union all select 4,'x' from dual
union all select 4,'x' from dual
union all select 5,'D' from dual
union all select 5,'B' from dual
union all select 6,'E' from dual
union all select 7,'L' from dual
union all select 7,'F' from dual
union all select 7,'F' from dual
union all select 8,'G' from dual
union all select 8,'G' from dual;