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
What is an inconsistent dependency?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
What is the max nvarchar size?
What is acid property in a database?
How to fetch alternate records from a table?
What are sql triggers used for?
How long it takes to learn pl sql?
differentiate between float and double. : Sql dba
What type of database is cloud sql?
Write a unique difference between a function and a stored procedure.
Can we connect to postgresql using sql developer?
What is the difference between a procedure and a function?
What is sap sql?
What is delimiter in pl sql?
What is schema in sql example?