Oracle Apps
Pages
Home
SQL
PL/SQL
Search This Blog
Thursday, March 13, 2014
How to display column values in a row in oracle?
Solution
---------
select
deptno,
rtrim (xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enames
from
emp
group by
deptno
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment