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

2) Consider a Table name A which has below records

ID
---
5
5
5
5
5
Consider another table B which has below records

ID
--
5
5
5
5
5
5
5
5
How many rows will be returned by each of the below queries
a) select * from A inner join B on A.id = b.ID
b) select * from A left join B on A.id = b.ID
c) select * from A right join B on A.id = b.ID

Answer Posted / abhishek6555

Solution :

a) 40 rows
b) 40 rows
c) 40 rows

http://abhishekgaikwadtech.blogspot.in/2015/07/t-sql-interview-question-2.html

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is SQL Azure different than SQL server?

225


How can we determine what objects a user-defined function depends upon?

1017


Can you explain the disadvantages/limitation of the cursor?

989


What are the results of running this script?

932


How to list all field names in the result set using mssql_field_name()?

916


What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

914


How to execute multiple stored procedures at one time in sql server?

1015


Why do you want to join software field as you have done your BE in Electronics?

2146


Why should we go for stored procedures? Why not direct queries?

1103


What is wide table?

950


Define right outer join?

984


Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

966


What are the different types of locks in the database?

925


Which rendering formats are affected by the pagesize properties?

144


What is sql server agent and what are the two modes of authentication in sql server?

1058