Hi gang I have been scouring the internet trying to find a good, solid, visual explanation of a left join. I "kind of" get it but I get confused.
If I could see a visual - I get confused by the on clause. I have a database of articles. 1 table is the article itself. Another is article categories, and the last is articles in categories that records the article's ID and the category ID. So I have a left join that someone else wrote that I'd desperately like to understand that looks like this: (first a query that pulls fields off the articles db and then the left join:) LEFT JOIN ArticlesInCategories ON ArticlesInCategories.ArticleID = Articles.ArticleID WHERE ArticlesInCategories.CategoryID=$CATID (CatID comes in off a form) The result is the article information in a listing that just covers the queried category. If someone can take me under their wing and help me to understand the mysteries and wonder of the left join, I might have a fighting chance at getting another year contract from one of my clients and have to get a larger motorcycle helmet <g>. Thanks in advance. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/