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 |
select 10 from dual; y its showing all the rows with 10?
How do you optimize a query?
What are the different set operators available in sql?
What is data type in sql?
What is the Query to print out the individual total number of duplicate row in sql.
what is the difference between char_length and length? : Sql dba
select top 3 sal from each dept?
17 Answers IBM, TCS,
What are database links used for?
What is AUTH_ID and AUTH_USER in pl/sql ?
Difference between inline query and stored procedure?
What is difference between cursor and ref cursor?
What is sql resultset?
Oracle (3253)
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)