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 / bubun4u
select cust, REPLACE(wm_conact(acc), ',', '|') as acc from table
group by cust
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the benefit of foreign key?
What are the uses of merge?
What is plpgsql language?
Where the sql database files are stored?
How many developers work on postgresql?
what is top in tsql? : Transact sql
What is 19 null in sql?
What is the location of pre_defined_functions.
Is it mandatory for the primary key to be given a value when a new record is inserted?
Explain clause in sql?
What is inner join in sql?
What is the difference between function, procedure and package in pl/sql?
What is a record in a database?
what are the nonstandard string types? : Sql dba
Which join is like inner join?