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 / sona mathew
select listagg(c1||','||c2,',')
within group (order by c1||','||c2)
from tab;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to run sql statements with oracle sql developer?
What is lexical units in pl sql?
What is compute?
What is sql injection owasp?
explain commit and rollback in mysql : sql dba
What are the types of keys?
What is the meaning of disabling a trigger?
What is where clause in sql?
What is the command used to fetch the first 5 characters of a string?
What is query optimization in sql?
What is the use of partition by in sql?
What are some emotional triggers?
What is online transaction processing (oltp)?
Explain the methods used to protect source code of pl/sql.
What does dml mean?