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
Name the various constraints used in oracle?
Explain an index segment?
Hi Masters, in Oracle Applications 11i, we hace 2 functions using the same form, i need to create 1 personalization, but that code must afect only one function.... how can i do that?
What is an oracle transaction?
How to specify default values in insert statement using oracle?
Explain what are the different type of segments?
How do I limit the number of oracle database connections generated by weblogic server?
What is an oracle table?
How to turn on or off recycle bin for the instance?
Differentiate between translate and replace?
How many types of tables supported by oracle?
Explain temporal data types in oracle
How to use subqueries in the from clause in oracle?
How to loop through data rows in the implicit cursor?
interview questions with answer for cts