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
What are keys in sql?
What is the most important ddl statements in sql are?
What is mutating sql table?
what are local and global variables and their differences? : Sql dba
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
Do ddl statements need commit?
What are sql constraints?
Do we need to rebuild index after truncate?
How long it takes to learn pl sql?
What is primary key and foreign key?
Explain the uses of control file.
Explain what is table in a database?
What is trigger and types?
What are schema-level triggers?
Can you join views in sql?