Hi All,
Today I tried one query:
select wm_concat(ename) from emp
group by deptno;
I have a data that looks like this.
CLARK,KING,MILLER,SREE
JONES,FORD,ADAMS,SCOTT
ALLEN,MARTIN,BLAKE,TURNER,JAMES,WARD
Can someone help me to build an SQL command that would have the output as follows:
I need per column 3 values....
CLARK,KING,MILLER,
SREE,JONES,FORD,
ADAMS,SCOTT,ALLEN,
MARTIN,BLAKE,TURNER,
JAMES,WARD