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

Explain two easy sql optimizations.

995


what are the advantages of sql ? : Sql dba

1042


What is sql injection vulnerability?

928


Sql technical questions

1253


what are different types of keys in sql?

1128


what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba

1021


what is myisam? : Sql dba

1055


What do you mean by field in sql?

1069


What is an intersect?

1088


How do you rank data in sql?

983


What are different categories of sql commands?

1115


What is execute immediate?

1068


What is compiled query?

1016


Is sql a backend?

1003


Does sql full backup truncate logs?

1007