Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is this JOIN good ?
klabu wrote:
>> Define a "complete" join, please. >> >> -- >> David Portas
Basically, there are four types of joins, CARTESIAN (sometimes called a CROSS JOIN), EQUIJOIN, INNER, and OUTER. The OUTER join can be further classified as LEFT OUTER, RIGHT OUTER, and FULL OUTER.
What you originally wrote can be classified as an INNER join.
For more information, please see the following:
http://en.wikipedia.org/wiki/Inner_join
I have never heard of a "complete join" before. The closest I have come to is that the selection, projection, and join operators are part of a *complete* set of operations when pertaining to relational algebra. The term *complete* here means that all other operations can be formed out of this set of operations.
Whether or not the SQL join you wrote is "correct" all depends on your table structure, and the information you are trying to get out of that table.
HTH,
Brian
-- =================================================================== Brian Peasland dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Mon Oct 16 2006 - 18:13:26 CDT