how to get enames with comma seperated values by deptwise
on emp table?
Answer Posted / gj
SELECT deptno, LIST_AGG(ename) AS EMP_STRING
FROM emp
GROUP BY deptno;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define commit?
What is the difference between sum and count in sql?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
What are the advantages of sql?
Is sql a backend language?
What is query optimization in sql?
Why do we use sql constraints?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
How does a self join work?
What is dialect in sql?
What operating systems are supported by oracle sql developer?
What is self-join and what is the requirement of self-join?
What is union and union all keyword in sql?
What is varchar data type in sql?
define data blocks ? : Sql dba