There is a table1 with records (1,2,3,4,5,6) and table2
with records (4,5,6,7,8,9).write a query so as to get the
result as 1,2,3,4,5,6,7,8,9

Answer Posted / alka

say table1 has col1 & table2 has col1 column

select col1 from table1
union
select col2 from table2

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what data regions are and what are the different data regions?

115


Tell me what do you mean by an execution plan? Why is it used? How would you view it?

666


Can a rule be bound to any column of any data type?

739


What is the filtered index?

772


What are the different authentication modes in sql server? How can it be changed?

774






List out different types of normalizations in sql server and explain each of them?

717


What are the different types of locks in the database?

649


What are horizontal and vertical scaling?

166


List the different index configurations possible for a table?

681


Why would you use sql agent?

883


Can a trigger be created on a view?

737


How adventureworkslt tables are related?

683


List down some advantages of sql stored procedure?

715


What is ssrs?

109


What is merge join?

810