I new to oracle SQL.I want to get the output like this
deptno ename
10 A
20 b
30 c
10 d
10 e
30 f
as
deptno ename
10 a,d,e
20 b
30 c , f
in single select statement?