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
Can we perform dml in function?
What is information schema in sql?
What are the basic sql commands?
Can we use pl sql in mysql?
What is compound trigger?
What is auto increment?
What are the two types of exceptions.
How do you add a column to a table?
When you have to use a default "rollback to" savepoint of plvlog?
Is join same as left join?
Is record in pl sql?
How can you know that statistics should be updated?
How do I use google cloud in sql?
How do you create a unique index?
Explain table and field in sql?