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
Are stored procedures faster than queries?
Is inner join same as self join?
What program will open a mdb file?
Explain 3 basic parts of a trigger.
What is a primary key? Explain
Write a sql query to get the third highest salary of an employee from employee_table?
How many types of triggers exist in pl/sql?
Is oracle sql free?
What is the difference between syntax error and runtime error?
What is percent sign in sql?
How to run sql*plus commands in sql developer?
Explain how exception handling is done in advance pl/sql?
How does cross join work in sql?
What are different categories of sql commands?
What is procedure and function?