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 / anil

select * from table1

union

select * from table2

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the query of getting last two records from the table in SQL SERVER?

548


What is spatial and temporal data?

544


What are cascading parameters in ssrs reports?

176


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

584


What is a join in sql? What are the types of joins?

533






How to recreate an existing index in ms sql server?

554


What is ms sql server index?

569


How to use the inserted and deleted pseudo tables?

548


Ways to improve the performance of a SQL Azure Database?

103


What is resource governor in sql server?

556


What are a scheduled jobs or what is a scheduled tasks?

504


explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

476


What is difference between table aliases and column aliases? Do they affect performance?

514


Define msdb database?

604


How do I determine how many instances of sql server are installed on a computer?

539