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
how to shut down the server with 'mysqladmin'? : Sql dba
How many clustered indexes can be created on a table?
How do I start sql from command line?
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
What is the difference between join and natural join?
Which column of the user triggers data dictionary view displays the database event that will fire the trigger?
What is meant by user defined function?
what is index? : Sql dba
What is synchronized subquery?
What are the different operators available in sql?
Why is a trigger used?
What is primary key sql?
What are different types of queries in sql?
Why do we need pl sql?
Name the different types of indexes in sql and define them.