table -
new_no old_no
2345 1234
3456 2345
5678 4567
output sud be -new_no
1234
2345
3456
4567
5678
Answer Posted / bibhu
select new_no as new_noz
from t01
union
select old_no as new_noz
from t01
order by new_noz
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
When is a declare statement required?
Can we join more than 2 tables in sql?
how to enter characters as hex numbers? : Sql dba
What is sql procedures and functions?
Why stored procedures are faster than query?
Can we use join in subquery?
How we can update the view?
What is localdb mssqllocaldb?
How many types of tables are there?
What is rownum in sql?
How does a covering index work?
Does sap use sql?
Is sql similar to python?
Is sql considered coding?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba