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 / rajgopal
select cust,wm_concate(acc) from table_name group by cust;
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How we can update the view?
Explain what is rdbms?
How many types of triggers exist in pl/sql?
How is a PL/SQL code compiled?
How do I find duplicates in a single column in sql?
where are cookies actually stored on the hard disk? : Sql dba
What is a unique key and primary key and foreign key?
how is exception handling handled in mysql? : Sql dba
What does over partition by mean in sql?
How do I view a procedure in sql?
What is sql indexing?
what are the differences between binary and varbinary? : Sql dba
What are the subsets of sql?
Is sql harder than python?
What is cross join sql?