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 / 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


Please Help Members By Posting Answers For Below Questions

what are the drivers in mysql? : Sql dba

1031


what is 'mysqlshow'? : Sql dba

1040


How many indexes can be created on a table in sql?

1066


how to analyze tables with 'mysqlcheck'? : Sql dba

1018


Is sql pronounced sequel or sql?

1282


what is single byte over head in oracle..?

2413


Which is faster subquery or join?

1231


Is mariadb nosql?

1049


What is scalar and vector?

1015


Is sql a oracle?

986


Which tcp/ip port does sql server run?

1020


What is trigger point?

1002


What does count (*) mean in sql?

1598


what is the syntax for using sql_variant_property? : Transact sql

1056


What is rollback?

1121