FW: [PHP] getting from one table listing from another
- From: jblanchard@xxxxxxxxxx ("Jay Blanchard")
- Date: Mon, 20 Aug 2007 06:26:27 -0500
[snip]
Question -- is it redundant to say:
FROM table a LEFT OUTER JOIN table b
ON(a.column = b.column)
when "table a" appears first? Wouldn't that be the same as:
FROM table a OUTER JOIN table b
ON(a.column = b.column)
[/snip]
An OUTER JOIN is essentially a FULL OUTER JOIN which will include
matches and non-matches from both tables. The order of tables is only
important when specifying LEFT or RIGHT outer join. Some RDBMS implement
this differently so for clarity you should always be very specific.
.
- Prev by Date: Re: [PHP] Redirection with header (was Re: [PHP] Cookies and sent headers)
- Next by Date: Pass $_GET to php cli.
- Previous by thread: Re: [PHP] getting from one table listing from another
- Next by thread: Render fonts
- Index(es):
Relevant Pages
|