Can you explain the types of Joins that we can have with Sql
Server?

Answers were Sorted based on User's Feedback



Can you explain the types of Joins that we can have with Sql Server?..

Answer / guest

There are three types of joins: Inner Join, Outer Join,
Cross Join

Is This Answer Correct ?    5 Yes 0 No

Can you explain the types of Joins that we can have with Sql Server?..

Answer / hokar

In some situations we may need to pull data from one or
more related tables at a time. In such cases we use JOINs
to extract data from more than one table at a time and
display the information in a single result set.
There are several types of joins.(1)Inner Join
(2)Outer
Join------Right Outer Join,Left Outer Join, Full Outer Join
Inner join is used to link tables on a common column and
return records that match in those columns.
Right Outer Join displays all records from the table on
right most side of the JOIN clause whether or not there are
matching records in the Left table.
Left Outer Join displays all records from the table on the
left most side of the JOIN clause whether or not there are
matching records on the Right table.
Full Outer Join diplays all records from both right and
left tables.
Example: If we have a HR database with employee information
table, salary information table, sick days table etc, and
if we want to know which employee
have used more than 15 sick days, we would need the
information form sick days table and employee information
table in a single result set.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What are tasks?

3 Answers   Wipro,


What is a file group?

0 Answers  


What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?

0 Answers  


What is the Disadvantage of indexed sequential file.

0 Answers   HCL,


What is an indice?

0 Answers  






What are the hotfixes and patches in sql server?

0 Answers  


what are the disadvantages of cursors? : Sql server database administration

0 Answers  


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

0 Answers  


How do you find value of first column before inserting value into the second column in the same table for checking that second column must have different value than first column.

2 Answers   L&T,


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

0 Answers   HCL,


How to see the event list of an existing trigger using sys.trigger_events?

0 Answers  


What do you understand by mirroring and mention the advantages of the mirroring?

0 Answers  


Categories