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 is embedded sql with example?
What is the difference between in and between in sql?
How do I create a sql script?
Is t sql a programming language?
What is a full join sql?
What is a parameter query?
Are subqueries better than joins?
Can we perform dml on view?
What are instead of triggers?
what is the use of friend function? : Sql dba
Which is faster truncate or drop?
What are the different datatypes available in PL/SQL?
How to fetch alternate records from a table?
How to get list of all tables from a database?
What is $$ in sql?