----> There is a table T with two columns C1 and C2.
The data is as below:
C1 C2
1 4
2 5
3 6
Answers were Sorted based on User's Feedback
Answer / a.brahmam
please i want display the result as :
1 2 3
4 5 6
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nihar meher
select replace(wm_concat(c1),',',' '),replace(wm_concat(c2),',',' ') from t;
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramaraju
select c1 as c1 from t1
union
select c2 as c1 from t1;
try this one.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bhanuprakash d
select listagg(c1,' ') within group (order by c1) from T
union
select listagg(c2,' ') within group (order by c2) from T
Is This Answer Correct ? | 0 Yes | 0 No |
Why use subqueries instead of joins?
What is having clause in sql?
What are sql ddl commands?
what is an alias command? : Sql dba
What are different types of sql commands?
I have a procedure in a procedure. The inner procedure contains out parameter. How I can call the inner procedure in the out procedure and send the inner procedure parameter value(out parameter value) into out procedure?
What is INSTEAD OF trigger ?
How to perform a loop through all tables in pl/sql?
how to fetch alternate records from a table? : Sql dba
Can we use threading in pl/sql?
What are the different types of a subquery?
What is the syntax to add a record to a table?