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



table - new_no old_no 2345 1234 3456 2345 5678 4567 output sud be -new..

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

table - new_no old_no 2345 1234 3456 2345 5678 4567 output sud be -new..

Answer / lizamishra15

pls send me th answer

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

i have a word ***********hello********world******. I require a o/p **********hello world**********, Need to delete the middle stars.

3 Answers  


What is the result, when NULL is compared with NULL?

22 Answers   TCS,


What is sql character function?

1 Answers  


Why do we use subquery?

1 Answers  


Explain the usage of WHERE CURRENT OF clause in cursors ?

4 Answers   Satyam,


How does left join work in sql?

1 Answers  


What is the usage of nvl function?

1 Answers  


what is online transaction processing (oltp)? : Sql dba

1 Answers  


In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join. 

2 Answers   GE,


If 100 tables are there in user_tables.I want to find in which table zero records are there with table name.Is it possible?

2 Answers  


what is the difference between myisam static and myisam dynamic? : Sql dba

1 Answers  


what is inline command?

2 Answers  


Categories