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

How to make a column nullable?

1115


How many cores do I need for sql server 2016?

899


What is the difference between varchar and varchar(max) datatypes?

1078


How to defragment indexes with alter index ... Reorganize?

1088


what is a join and explain different types of joins? : Sql server database administration

960


How to receive returning result from a query?

1126


How to use linked server?

1193


What are the different methods available under sqlcommand class to access the data?

1122


How to return the date part only from a sql server datetime datatype?

1103


What are the differences between local and global temporary tables?

1085


What xml support does the sql server extend?

1014


Can two tables share the same primary key?

928


What is the difference between count () and rowcount ()?

1028


What are the two modes of authentication in sql server?

1069


What are the advantages of policy management?

997