Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / sushama kumari

select col1,col2 from table1 union table2 is an incorrect
answer.
Following 2 are corrcet answers:
1.
select * from table1
union
select * from table2
2.

select col1 from table1
union
select col2 from table2

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain various data region available in ssrs with their use?

976


What is model database? : SQL Server Architecture

1135


How to insert new line characters into strings?

995


what are the critical issues you have resloved in your company

1964


What is entity data services?

1071


What are the transaction properties?

1023


How to get a list of columns in a view using "sys.columns" in ms sql server?

994


Can you leave a union at any time?

1064


when would you go for denormalization? : Sql server database administration

874


What is default constraint?

1001


What are policy management terms?

986


Can I delete event logs?

926


How can you tell if a database object is invalid?

1074


What is use of attribute hierarchy optimized state? : sql server analysis services, ssas

1065


How to delete an existing database user?

1021