have table with two columns with datatypes as number and
varchar and the values in
A column like 1,2,3 AND B column values like a,b,c.
now need to display data in a single column as 1,a,2,b,3,c.
Answer Posted / krishna
select rtrim(xmlagg(xmlelement(E,
EMPID||','||NAME||','||'')).extract('//text()') ,',')
empid from emp1
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to place comments in pl/sql?
How to write html code in pl sql?
Which data dictionary views have the information on the triggers that are available in the database?
What operating systems are supported by oracle sql developer?
Can you join views in sql?
What is the difference between sql, mysql and sql server?
How do we use distinct statement? What is its use?
what is csv? : Sql dba
Is subquery faster than join?
How do you update a value in sql?
Can a table have no primary key?
How do I view a sql trace file?
Can you call pl/sql package functions from within a fast formula?
How can you tell the difference between an index and a view?
How do I create a sql script?