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
Explain what is dbms?
what is the functionality of the function htmlentities? : Sql dba
what are the drivers in mysql? : Sql dba
Explain the insert into statements in sql?
Can a trigger call a stored procedure?
Explain ddl statements in pl/sql?
What view means?
How to select all records from the table?
What is sql key?
Can we rollback truncate?
What is rownum in sql?
What does the acronym acid stand for in database management?
What is sql clause?
How to run pl/sql statements in sql*plus?
What's the difference between a primary key and a clustered index?