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
Which are the different character-manipulation functions in sql?
what is dbms? : Sql dba
What is a procedure in pl sql?
What is indexes?
What are the datatypes available in pl/sql ?
Can we use joins in subquery?
What is a Mapplet?
Explain exception handling in pl/sql?
What is left inner join in sql?
What is right join in sql?
What is the difference between truncate and drop statements?
what are the security recommendations while using mysql? : Sql dba
How do I add a primary key to a table?
What is raid? How does it help storage of databases?
what is sp_pkeys? : Transact sql