----> There is a table T with two columns C1 and C2.
The data is as below:
C1 C2
1 4
2 5
3 6
Answer Posted / 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 |
Post New Answer View All Answers
What version is sql?
Enlist the characteristics of pl/sql?
what are the advantages and disadvantages of views in a database? : Sql dba
What will you get by the cursor attribute sql%notfound?
What is the use of index in hive?
What does truncate mean in sql?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
What is dynamic query?
Is a view faster than a stored procedure?
how do you know the version of your mysql server? : Sql dba
Explain polymorphism in pl/sql.
What is lexical units in pl sql?
What is an inner join sql?
What is data modelling in sql?
What is the use of double ampersand (&&) in sql queries? Give an example