Solved

difference between left outer join and inner join

Posted on 2008-10-15
4
728 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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