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

Answers were Sorted based on User's Feedback



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 s..

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

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 s..

Answer / vivek

select col1,col2 from table1 union table2

Is This Answer Correct ?    0 Yes 14 No

Post New Answer

More SQL Server Interview Questions

How do you check sql server is up and running?

0 Answers  


What are “lock” hints?

0 Answers  


What is a stored procedure?

3 Answers  


What are the purposes of floor and sign functions?

0 Answers  


How m-m relationships are implemented?

2 Answers  


How will you make an attribute not process? : sql server analysis services, ssas

0 Answers  


What are the built in functions in sql server?

0 Answers  


Explain query editor regions

0 Answers  


What are types of storage modes? : sql server analysis services, ssas

0 Answers  


Explain the database you used in your final year project?

0 Answers   Wipro,


What is the contrast amongst drop and truncate?

0 Answers  


How to execute function in stored procedure sql server?

0 Answers  


Categories