----> 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 |
hi..........i m Accenture employee...Accenture is an IT company having itz branches in India at Mumbai, Pune,Delhi, Hyderabad, Chennai and Bangalore....Presently there are openings here for SAP, Testing, Oracle,Java,.NET,MAinframe and Peoplesoft...... I am a software engineer working with Accenture,Mumbai....u can mail me in your resume..i`ll forward it to our HR team...my mail id: pankit.lodaya@accenture.com
What is %type in pl sql?
Can I call a procedure inside a function?
what are sequences
what is msql? : Sql dba
How to run sql commands in sql*plus?
how to use in conditions? : Sql dba
What is an inner join sql?
How can I get the number of records affected by a stored procedure?
What is pragma exception and how, when, where us
What is scope of pl sql developer in future?
oracle is compiler or interpretter,can any one tell me the answer?