table -
new_no old_no
2345 1234
3456 2345
5678 4567
output sud be -new_no
1234
2345
3456
4567
5678
Answers were Sorted based on User's Feedback
Answer / 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 |
What is set transaction?
What is difference between stored procedure and trigger?
which will default fire first statement level trigger or row level trigger
2 Answers Cap Gemini, Data Vision,
Which are the different character-manipulation functions in sql?
what are set operators in sql? : Sql dba
What is the usage of the distinct keyword?
What is the difference between sum and count in sql?
suppose we have a table in which 200 rows. i want to find 101 row ? what the query.... and how we find 4th and 5th highest salary and 1 to 10 highest salary
Can we use the cursor's to create the collection in PL/SQL?
How to load data with sql*loader?
discuss about myisam index statistics collection. : Sql dba
What is a call statement? Explain with an example.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)