I have a tablle like this:

cust acc
-----------
a 1
b 2
b 3
c 4
c 5
c 6


I Want below o/p:
cust acc
---------------
a 1
b 2|3
c 4|5|6

Please any one can you have any ideas share me.
I have urgent requirement.

Answer Posted / trainedforjob

select cust, wm_conact(acc) as acc from table
group by cust

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find sql profiler?

599


What is the difference between having clause and where clause?

671


How much does a sql dba make? : SQL DBA

600


How much ram can sql express use?

605


What is the difference between python and sql?

608






how many groups of data types? : Sql dba

641


how many columns can be used for creating index? : Sql dba

600


What is the difference between the conventional and direct path loader? : aql loader

750


What is pragma in pl sql?

682


How to Declare Fixed Length String Value In PL SQL

755


What is keys and its types?

652


Difference between truncate, delete and drop commands?

644


What is bind reference and how can it be created?

659


What does stand for in sql?

620


Why do we use partitions in sql?

628