Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joins: INNER, OUTER, LEFT, RIGHT. Need a picture...
Message
From
08/06/2007 16:04:12
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
08/06/2007 15:48:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01231680
Message ID:
01231689
Views:
18
Sweet! Thanks!

>>Is there a quick and dirty diagram anywhere that shows what these all do? I know what the help says they do, but anyone know of a quick reference that simply shows them in an example? I'm thinking of something like a set diagram with circles. Thanks!
>
>Don't have one handy but think of two intersecting circles. Two sets of data. The shaded part that both circles have in common, is what you get with INNER. The left circle is the left side of the query (first table) and what you get with LEFT JOIN or LEFT OUTER JOIN.
>
>RIGHT gives you the table on the right.
>
>So,
>SELECT * FROM TableA INNER JOIN TableB ON TableA.key=TableB.key will get you the records that match in both tables.
>
>LEFT JOIN will give you all the records in TableA and the ones in TableB that match the relationship.
>
>[Update] Just found one:
>http://www.khankennels.com/blog/index.php/archives/2007/04/20/getting-joins/
>
>Here's another one (excuse the product)
>http://www.databasedev.co.uk/query_joins.html
Previous
Reply
Map
View

Click here to load this message in the networking platform