Complicated Query...Pls help [message #242756] |
Tue, 05 June 2007 00:37 |
nawshot
Messages: 12 Registered: May 2007
|
Junior Member |
|
|
hi,
i need to write a query which displays my output in below fashion.
DEPTNO EMPNO
------ -----
10 7782,7839,7934
20 7566,7902,7876,7369,7788
30 7521,7844,7499,.....
the contents of the table are as shown below:
DEPTNO EMPNO
------ -----
10 7782
10 7839
10 7934
20 7566
20 7902
20 7876
20 7369
20 7788
30 7521
30 7844
30 7499
i am unable to work out this. Pls help me out.
thanks in advance
naw.
|
|
|
|
|
|