Outer join

Scripts Diversos para o Oracle SQL*Plus. (Relacionado a ferramenta Oracle SQL*Plus, para questões de SQL, usar o forum SQL)
Post Reply
dham
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 4
Joined: Tue, 09 Mar 2010 2:11 pm
Location: Apucarana - Paraná

Good afternoon guys

I'm a beginner in Oracle and I have a question about (+) Outer Join, I made examples in which it works but I could not understand the real utility of it.

If someone can give me one explained about it.

grateful

Daniel Henrique
diegolenhardt
Moderador
Moderador
Posts: 1177
Joined: Thu, 15 Oct 2009 10:28 am
Location: Recife

When in your relationship one of the sides of the comparison of the WHERE may have null values, the query will return records indepently from the WHERE Clause,
Trevisolli
Moderador
Moderador
Posts: 2016
Joined: Wed, 12 Jan 2005 3:25 pm
Location: Araraquara - SP
Abraço,

Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP

This same ...

I always think as follows when I use Outer (left or rigth):
"Bring me the consultation data, regardless of whether you have ( equal information) or not (do not have) on the other side information ".
dham
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 4
Joined: Tue, 09 Mar 2010 2:11 pm
Location: Apucarana - Paraná

Grateful for the answer, clarified doubt.

Daniel Henrique
edson.amorim
Rank: Analista Sênior
Rank: Analista Sênior
Posts: 135
Joined: Thu, 04 Oct 2007 3:36 pm
Location: Belo Horizonte - MG

Dear,

This can also be done using the (+) in front of the field where you want to list null, is that right?
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests