how to get enames with comma seperated values by deptwise
on emp table?
Answer Posted / g
SELECT DEPT.DEPT_ID,LIST_AGG(E.EMP_NAME) FROM EMP E,DEPT D WHERE E.DEPT_ID=DEPT.DEPT_ID GROUP BY DEPT.DEPT_ID;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What pl/sql package consists of?
How to pipe multiline string to isql?
what are set operators in sql? : Sql dba
What is a crud api?
What is a join?
Is sql easier than java?
Does user triggers have entry for trigger with compilation errors?
what are different types of collation sensitivity? : Sql dba
Is pl sql a programming language?
what are local and global variables and their differences? : Sql dba
explain the difference between delete , truncate and drop commands? : Sql dba
What is dml with example?
Differentiate between % rowtype and type record.
Can you have more than one key in a database?
How to assign sql query results to pl sql variables?