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 to fetch alternate records from a table?

675


What is the usage of distinct keyword?

627


How do you determine the current isolation level? : Transact sql

575


What is a string data type in sql?

512


List and explain the different types of join clauses supported in ansi-standard sql?

812






Define overloaded procedure?

620


Can we use views in stored procedure?

511


Does sql view stored data?

534


Explain raise_application_error.

642


What is a table partition?

591


What is the most important ddl statements in sql are?

519


What is sql and explain its components?

597


What is multiple columns?

572


what is 'mysqlimport'? : Sql dba

570


difference between anonymous blocks and sub-programs.

620