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 / kpk
select cust,wmsys.wm_concat(acc) from tbl group by cust;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What does the hierarchical profiler does?
What is trigger in sql? Explain
What is a function in oracle pl sql?
What is synonyms?
What are conditional predicates?
What is sql profiler in oracle?
What are the subsets of sql?
How can triggers be used for the table auditing?
how can we know the count/number of elements of an array? : Sql dba
How many developers work on postgresql?
what is the different between now() and current_date()? : Sql dba
How many postgresql users are there, worldwide?
What is the difference between an inner join and an outer join?
How does postgresql compare to oracle/db2/ms sql server/informix?