----> 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 |
What is a temporal table?
what is single byte over head in oracle..?
How do you copy a table in sql?
What is synchronized subquery?
Types of joins ?
Can we change the table name in sql?
explain mysql aggregate functions. : Sql dba
Can delete statement be rollbacked?
What is a null value?
What are pl/sql cursor exceptions?
how to drop an existing index in mysql? : Sql dba
What is Function based Index and which type of function we can use in Function base index. can we use aggregate,NVL function in Function based Index..
1 Answers Metric Stream, Polaris,