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

Union gives the result in two records

We have to use cross join like below



select * from table1,table2

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

950


What are the advantages dts has over bcp?

1050


Do you know what is replace and stuff function in sql server?

1082


When you should use a low fill factor?

1035


What is it’s similarity with sql server?

160


What is the difference between locking and multi-versioning?

1040


What gets stored inside msdb database?

1309


What is the log shipping?

1063


What is GUID in sql server?

1223


What are page splits?

1052


what is the maximum size of a row? : Sql server database administration

1080


What do we need queues in sql service broker?

1123


what are the new features in SSRS?

145


Tell me what are cursors and when they are useful?

993


What are the database roles? : sql server security

1277