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

here is some thing diff answer ..
we can use full outer join...if they ask for other then
union condition..
select * from t1 full outer join t2 where t1.id= t2.id..
with some condition

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain trigger and its types?

1117


What are audit control procedures?

1035


How to create an index on a view?

1143


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

1018


What is the difference in accessing db between sql server vs sql azure?

174


Which rendering formats are affected by the pagesize properties?

151


What is lock escalation and what is its purpose?

1029


What are cursors in ms sql server?

1244


What is the purpose of indexing?

1092


What is difference between index and primary key?

1142


What is user-defined functions? What are the types of user-defined functions that can be created?

1085


What is the correct order of the logical query processing phases?

996


what are the important architecture components of SSRS?

146


What is identity?

1083


What is the beast way to write CTE in SQL Server ?

1097