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
Can a commit statement be executed as part of a trigger?
What is a unique constraint?
When is a declare statement required?
What packages(if any) has oracle provided for use by developers?
How can we store rows in PL/SQL using array?
what is a field in a database ? : Sql dba
How do I edit a trigger in sql developer?
What is difference between procedure and trigger?
What is error ora-01000: maximum open cursors exceeded
How can I see all tables in sql?
What does the argument [or replace] do?
Explain constraints in sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What is sql resultset?
How do I run a program in pl sql?