Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 37819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:36:39+00:00 2026-05-10T14:36:39+00:00

Also, how do LEFT OUTER JOIN , RIGHT OUTER JOIN , and FULL OUTER

  • 0

Also, how do LEFT OUTER JOIN, RIGHT OUTER JOIN, and FULL OUTER JOIN fit in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:36:39+00:00Added an answer on May 10, 2026 at 2:36 pm

    Assuming you’re joining on columns with no duplicates, which is a very common case:

    • An inner join of A and B gives the result of A intersect B, i.e. the inner part of a Venn diagram intersection.

    • An outer join of A and B gives the results of A union B, i.e. the outer parts of a Venn diagram union.

    Examples

    Suppose you have two tables, with a single column each, and data as follows:

    A    B -    - 1    3 2    4 3    5 4    6 

    Note that (1,2) are unique to A, (3,4) are common, and (5,6) are unique to B.

    Inner join

    An inner join using either of the equivalent queries gives the intersection of the two tables, i.e. the two rows they have in common.

    select * from a INNER JOIN b on a.a = b.b; select a.*, b.*  from a,b where a.a = b.b;  a | b --+-- 3 | 3 4 | 4 

    Left outer join

    A left outer join will give all rows in A, plus any common rows in B.

    select * from a LEFT OUTER JOIN b on a.a = b.b; select a.*, b.*  from a,b where a.a = b.b(+);  a |  b --+----- 1 | null 2 | null 3 |    3 4 |    4 

    Right outer join

    A right outer join will give all rows in B, plus any common rows in A.

    select * from a RIGHT OUTER JOIN b on a.a = b.b; select a.*, b.*  from a,b where a.a(+) = b.b;  a    |  b -----+---- 3    |  3 4    |  4 null |  5 null |  6 

    Full outer join

    A full outer join will give you the union of A and B, i.e. all the rows in A and all the rows in B. If something in A doesn’t have a corresponding datum in B, then the B portion is null, and vice versa.

    select * from a FULL OUTER JOIN b on a.a = b.b;   a   |  b -----+-----    1 | null    2 | null    3 |    3    4 |    4 null |    6 null |    5 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a join on two tables defined as a left outer join so
hi i tried a select query that contains an left outer join on SQL
Also, where would I find them?
See also How does a WCF server inform a WCF client about changes? (Better
Navision is also known as Microsoft Dynamics NAV.
We could also include IFrames as well.
EDIT: I also have access to ESXLT functions. I have two node sets of
This is also a question that I asked in a comment in one of
I'm also interested in more general thoughts, but here is my specific problem. In
Does Office 2007 PIA also require Office 2007 to be installed? Can I deploy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.