ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
Can you explain the types of Joins that we can have with Sql
Server?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can you explain the types of Joins that we can have with Sql Server?
Answer
# 1
There are three types of joins: Inner Join, Outer Join,
Cross Join
 
Is This Answer Correct ?    4 Yes 0 No
Guest
 
  Re: Can you explain the types of Joins that we can have with Sql Server?
Answer
# 2
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 ?    5 Yes 1 No
Hokar
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is a trigger?  6
What are the authentication modes in SQL Server?  2
Can we use Truncate command on a table which is referenced by FOREIGN KEY?  2
In clustered and non clustered indexes which one is faster while executing a query ?  1
Why Do you want to work in this company? HCL3
How to retrieve duplicate rows in a table? How to delete the duplicate entries in a table? Leo-Technologies12
What is the difference between Stored Procedure , Function and Package, 1. how many blocks in Package and what are they. IBM5
how to get 25th row in any table in sqlserver can u tell me syntax  4
Can you explain the role of each service?  1
can we call stored Procedure in Function in Sql Server 2000 and vice versa. eSoft2
Assume,there are three tables in a database, Can i have both primary key and foreign key for each table in the same database?  4
explain different types of jions with examples briefly? Zensar2
How to create logins using windows Authentication mode?  2
what is the out put of below queries? a. select * from Emp where null = null; b. select * from Emp where 1=1; Patni9
Explain Different types of Projects?  1
How do you know which index a table is using?  4
Can we call SP inside a query? Wipro4
system date format is "yy-mm-dd" "select getdate()" ----> 2009-01-24 20:03:28.513 if i write "select dateadd(dd,2,getdate()) ".it returns "2009-01-26 19:59:38.340"...my question is dat could it be possible to retrive da date in da format "26 jan 2009 ...."??  8
When do you create cluster and noncluster index? Satyam4
What are Magic Table? Evalueserve15
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com