Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to get enames with comma seperated values by deptwise
on emp table?

Answer Posted / kavitha nedigunta

SELECT deptno, wm_concat(ename) AS EMP_STRING
FROM emp
GROUP BY deptno;

works in 10g

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is primary key an index?

999


What is varchar example?

1039


what is view? : Sql dba

972


What is input buffer in sql*plus?

1232


how to delete an existing column in a table? : Sql dba

1010


How do I run a sql query?

1029


What do you mean by stored procedures?

1017


what is the use of friend function? : Sql dba

1025


Can dml statements be used in pl/sql?

1089


What are the built in functions of sql?

1032


what are the advantages and disadvantages of views in a database? : Sql dba

1044


How to Declare Fixed Length String Value In PL SQL

1158


What is sql scripting?

1127


What is union and union all keyword in sql?

1050


What is the difference between partitioning and sharding?

1013