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 best split csv strings in oracle 9i?
How to assign data of the deleted row to variables?
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
What is open database communication (odbc) in oracle?
Does oracle charge for java?
What is an oracle table?
What is a user account in oracle?
What happens if you set the sga too low in oracle?
What is archive log in Oracle?
I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.
What do you understand by a database object?
How to get a list of all background sessions in the database?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
Is a rollback possible to any savepoint?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?