how to get enames with comma seperated values by deptwise
on emp table?
Answer Posted / kavitha nedigunta
SELECT deptno, wm_concat(ename) AS EMP_STRING
FROM emp
GROUP BY deptno;
works in 10g
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Is primary key an index?
What is varchar example?
what is view? : Sql dba
What is input buffer in sql*plus?
how to delete an existing column in a table? : Sql dba
How do I run a sql query?
What do you mean by stored procedures?
what is the use of friend function? : Sql dba
Can dml statements be used in pl/sql?
What are the built in functions of sql?
what are the advantages and disadvantages of views in a database? : Sql dba
How to Declare Fixed Length String Value In PL SQL
What is sql scripting?
What is union and union all keyword in sql?
What is the difference between partitioning and sharding?