SELECT
deptno,
RTRIM(xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enames
FROM emp
GROUP BY deptno;
Your's
Amar Alam
The main idea is to help the Oracle Technical community and one point store most of the technical solutions. If you have good content that you think can be posted that is not present in this blog, shoot a email to oraclebyamar@gmail.com
SELECT
deptno,
RTRIM(xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enames
FROM emp
GROUP BY deptno;
Your's
Amar Alam
2 comments:
Oracle is so difficult as I use it it in my daily office work. I never understood it. But by your guidance. I understood that how I can display column values in a row in oracle. Now it's time to avail Taxi Wolverhampton for more information.
oracle fusion hcm online training
Post a Comment