Home All Groups Group Topic Archive Search About
Author
15 Jul 2006 4:57 PM
intractably
What is a left outer join?

If you don't know what a LEFT OUTER JOIN does in SQL, look into it in
the docs. This will eliminate the need to perform many queries outside
of SQL. It performs a "non-restrictive" join across multiple tables. In
other words, if you try to join a field with a field in another table,
if there is no matching entry in another table, the entire row is not
disgarded (as with a regular JOIN) but instead NULLs are returned for
these columns. To use an example, say for every Company in table C
there can be a State in table S which can be linked to the Company in
C. However, a State may not be defined for every Company. If you wanted
a join which returned all companies and their associated state (NULL if
it was not defined) a LEFT OUTER JOIN is the SELECT query for you.
Using a regular JOIN would have omitted any Companies for which a State
was not defined in this foreign table.

Author
15 Jul 2006 6:07 PM
Arnie Rowland
Thank you for that insighful explanition.

--
Arnie Rowland
"To be successful, your heart must accompany your knowledge."



<intracta***@gmail.com> wrote in message
Show quote
news:1152982637.617901.319220@s13g2000cwa.googlegroups.com...
> What is a left outer join?
>
> If you don't know what a LEFT OUTER JOIN does in SQL, look into it in
> the docs. This will eliminate the need to perform many queries outside
> of SQL. It performs a "non-restrictive" join across multiple tables. In
> other words, if you try to join a field with a field in another table,
> if there is no matching entry in another table, the entire row is not
> disgarded (as with a regular JOIN) but instead NULLs are returned for
> these columns. To use an example, say for every Company in table C
> there can be a State in table S which can be linked to the Company in
> C. However, a State may not be defined for every Company. If you wanted
> a join which returned all companies and their associated state (NULL if
> it was not defined) a LEFT OUTER JOIN is the SELECT query for you.
> Using a regular JOIN would have omitted any Companies for which a State
> was not defined in this foreign table.
>
Author
15 Jul 2006 9:04 PM
Stu
Whiskey Tango Foxtrot?

intracta***@gmail.com wrote:
Show quote
> What is a left outer join?
>
> If you don't know what a LEFT OUTER JOIN does in SQL, look into it in
> the docs. This will eliminate the need to perform many queries outside
> of SQL. It performs a "non-restrictive" join across multiple tables. In
> other words, if you try to join a field with a field in another table,
> if there is no matching entry in another table, the entire row is not
> disgarded (as with a regular JOIN) but instead NULLs are returned for
> these columns. To use an example, say for every Company in table C
> there can be a State in table S which can be linked to the Company in
> C. However, a State may not be defined for every Company. If you wanted
> a join which returned all companies and their associated state (NULL if
> it was not defined) a LEFT OUTER JOIN is the SELECT query for you.
> Using a regular JOIN would have omitted any Companies for which a State
> was not defined in this foreign table.
Author
16 Jul 2006 1:14 AM
Steve Dassin
Why ALL the sarcasm and nasties?Whatever happened to the benefit
of the doubt?Perhaps the op had an epiphany.In which case you just hissed
on his parade.Of all places why send the message 'Curb Your Enthusiasm'.
You really want to play redneck forum?
Author
16 Jul 2006 12:50 PM
Stu
At least I'm not pushing a product every other post :)

Steve Dassin wrote:
Show quote
> Why ALL the sarcasm and nasties?Whatever happened to the benefit
> of the doubt?Perhaps the op had an epiphany.In which case you just hissed
> on his parade.Of all places why send the message 'Curb Your Enthusiasm'.
> You really want to play redneck forum?
Author
16 Jul 2006 1:19 PM
Arnie Rowland
Touché!

--
Arnie Rowland
"To be successful, your heart must accompany your knowledge."



Show quote
"Stu" <stuart.ainswo***@gmail.com> wrote in message
news:1153054249.056545.130810@35g2000cwc.googlegroups.com...
> At least I'm not pushing a product every other post :)
>
> Steve Dassin wrote:
>> Why ALL the sarcasm and nasties?Whatever happened to the benefit
>> of the doubt?Perhaps the op had an epiphany.In which case you just hissed
>> on his parade.Of all places why send the message 'Curb Your Enthusiasm'.
>> You really want to play redneck forum?
>
Author
16 Jul 2006 7:11 PM
Steve Dassin
Have I been ex-communicated by MS (Mafia of Sql) ? :(

Show quote
"Arnie Rowland" <ar***@1568.com> wrote in message
news:%23sVHJqNqGHA.4032@TK2MSFTNGP03.phx.gbl...
> Touché!
>
> --
> Arnie Rowland
> "To be successful, your heart must accompany your knowledge."
>
>
>
> "Stu" <stuart.ainswo***@gmail.com> wrote in message
> news:1153054249.056545.130810@35g2000cwc.googlegroups.com...
>> At least I'm not pushing a product every other post :)
Author
17 Jul 2006 1:30 AM
Arnie Rowland
Not by me Steve. I do note, however, that most of your posts are only to OPs
that may be served by your product.

And hey, we all have to make a living. I have no value judgement about it,
just observation.

--
Arnie Rowland
"To be successful, your heart must accompany your knowledge."



Show quote
"Steve Dassin" <steve@nospamrac4sql.net> wrote in message
news:usaffvQqGHA.4100@TK2MSFTNGP03.phx.gbl...
> Have I been ex-communicated by MS (Mafia of Sql) ? :(
>
> "Arnie Rowland" <ar***@1568.com> wrote in message
> news:%23sVHJqNqGHA.4032@TK2MSFTNGP03.phx.gbl...
>> Touché!
>>
>> --
>> Arnie Rowland
>> "To be successful, your heart must accompany your knowledge."
>>
>>
>>
>> "Stu" <stuart.ainswo***@gmail.com> wrote in message
>> news:1153054249.056545.130810@35g2000cwc.googlegroups.com...
>>> At least I'm not pushing a product every other post :)
>
>
Author
18 Jul 2006 2:08 AM
Steve Dassin
Oh I don't make a 'living' with RAC, I sell insurance for that.
As for other posts, I'm trying to get the hang of programming sql :)

Show quote
"Arnie Rowland" <ar***@1568.com> wrote in message
news:e4lTWCUqGHA.516@TK2MSFTNGP05.phx.gbl...
> Not by me Steve. I do note, however, that most of your posts are only to
OPs
> that may be served by your product.
>
> And hey, we all have to make a living. I have no value judgement about it,
> just observation.
>
> --
> Arnie Rowland
> "To be successful, your heart must accompany your knowledge."
>
>
>
> "Steve Dassin" <steve@nospamrac4sql.net> wrote in message
> news:usaffvQqGHA.4100@TK2MSFTNGP03.phx.gbl...
> > Have I been ex-communicated by MS (Mafia of Sql) ? :(
> >
> > "Arnie Rowland" <ar***@1568.com> wrote in message
> > news:%23sVHJqNqGHA.4032@TK2MSFTNGP03.phx.gbl...
> >> Touché!
> >>
> >> --
> >> Arnie Rowland
> >> "To be successful, your heart must accompany your knowledge."
> >>
> >>
> >>
> >> "Stu" <stuart.ainswo***@gmail.com> wrote in message
> >> news:1153054249.056545.130810@35g2000cwc.googlegroups.com...
> >>> At least I'm not pushing a product every other post :)
> >
> >
>
>
Author
18 Jul 2006 5:17 AM
Arnie Rowland
How about lunch someday soon?

--
Arnie Rowland
"To be successful, your heart must accompany your knowledge."



Show quote
"Steve Dassin" <rac4sqlnospam@net> wrote in message
news:%23boaFfiqGHA.5012@TK2MSFTNGP03.phx.gbl...
> Oh I don't make a 'living' with RAC, I sell insurance for that.
> As for other posts, I'm trying to get the hang of programming sql :)
>
> "Arnie Rowland" <ar***@1568.com> wrote in message
> news:e4lTWCUqGHA.516@TK2MSFTNGP05.phx.gbl...
>> Not by me Steve. I do note, however, that most of your posts are only to
> OPs
>> that may be served by your product.
>>
>> And hey, we all have to make a living. I have no value judgement about
>> it,
>> just observation.
>>
>> --
>> Arnie Rowland
>> "To be successful, your heart must accompany your knowledge."
>>
>>
>>
>> "Steve Dassin" <steve@nospamrac4sql.net> wrote in message
>> news:usaffvQqGHA.4100@TK2MSFTNGP03.phx.gbl...
>> > Have I been ex-communicated by MS (Mafia of Sql) ? :(
>> >
>> > "Arnie Rowland" <ar***@1568.com> wrote in message
>> > news:%23sVHJqNqGHA.4032@TK2MSFTNGP03.phx.gbl...
>> >> Touché!
>> >>
>> >> --
>> >> Arnie Rowland
>> >> "To be successful, your heart must accompany your knowledge."
>> >>
>> >>
>> >>
>> >> "Stu" <stuart.ainswo***@gmail.com> wrote in message
>> >> news:1153054249.056545.130810@35g2000cwc.googlegroups.com...
>> >>> At least I'm not pushing a product every other post :)
>> >
>> >
>>
>>
>
>
Author
18 Jul 2006 9:30 AM
Steve Dassin
"Arnie Rowland" <ar***@1568.com> wrote in message
news:%23M5QFmiqGHA.4992@TK2MSFTNGP05.phx.gbl...
> How about lunch someday soon?

Lunch, there's a subject I know something about!
Although your timeline leaves something to be desired:(:)

Well you seem to have a bit of sport in ya which is not a commodity
around here. Be nice to newbies and don't beat up the mvps to much:)
Author
16 Jul 2006 2:39 AM
Tracy McKibben
intracta***@gmail.com wrote:
Show quote
> What is a left outer join?
>
> If you don't know what a LEFT OUTER JOIN does in SQL, look into it in
> the docs. This will eliminate the need to perform many queries outside
> of SQL. It performs a "non-restrictive" join across multiple tables. In
> other words, if you try to join a field with a field in another table,
> if there is no matching entry in another table, the entire row is not
> disgarded (as with a regular JOIN) but instead NULLs are returned for
> these columns. To use an example, say for every Company in table C
> there can be a State in table S which can be linked to the Company in
> C. However, a State may not be defined for every Company. If you wanted
> a join which returned all companies and their associated state (NULL if
> it was not defined) a LEFT OUTER JOIN is the SELECT query for you.
> Using a regular JOIN would have omitted any Companies for which a State
> was not defined in this foreign table.
>

Whew, finally I can sleep.  I've stayed up late every night this week
pondering this very question...


--
Tracy McKibben
MCDBA
http://www.realsqlguy.com

AddThis Social Bookmark Button