how can get like this result
table A
col1 col2
--- -----
a A
b B
C C
.. ..
.. ...
.. ...
wants result like for a single column
col1
------
a,b,c,........n of data
and
another is
col1
-------
A B C D ........
a b b d ........
Answer Posted / ajit
select wm_concat(col1) col1
from t1;
select wm_concat(col2)||chr(10)||
wm_concat(col1) col1
from t1;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to create a stored procedure in oracle?
How to define an anonymous block?
What are the different windows events activated at runtime ?
What are the differences between blob and clob in oracle?
How to drop an index?
What is oracle database client?
I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?
How do I uninstall oracle client from windows?
What is a table index?
What is the difference between formal parameters and actual parameters?
Explain what are synonyms used for?
What is SQL Tuning Advisor in Oracle?
What are transaction isolation levels supported by oracle?
Are truncate and delete commands same? If so why?
How to turn on or off recycle bin for the instance?