Solved

difference between left outer join and inner join

Posted on 2008-10-15
4
726 Views
Last Modified: 2012-05-05
what is the difference between left outer join and inner join>>>>
0
Comment
Question by:harisbscs2003
4 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 50 total points
ID: 22720849
A good example and explanation:
http://en.wikipedia.org/wiki/JOIN
0
 
LVL 16

Expert Comment

by:brad2575
ID: 22721001
Inner Join will only return records that are in BOTH tables, if a record is NOT in both it will NOT return them from EITHER table.

Left outer join will return ALL records from the first table in the JOIN statement no matter if it is in the second table or not.  If there is no data in the second table it will return NULL for all the values in the second table.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 r2 Make faster Temp Table 17 104
Problem!!! 8 33
Email Header Detail 12 54
Winform Module - What is the ASP.Net equiv 2 19
'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question