Sameer writes:
"Nobody can clear JOINS as this manual has done. It is SUPERB.. Thanks. It helped me a lot to understand. I will appreciate if you can make much clear to the INNER AND SELF JOINS."
in his review of a previous "Horse's Mouth" posting I made
[here], which gets hundreds of hits every day, mainly search engine arrivals, and a sprinkling of "wow - that page was great" responses with no - as yet - contrary negatives. It's fantastic to get such feedback from time to time and it's all the more special when I think about just how many web pages I visit, and how very rarely I write to the page provider to compliment him.
We provide
MySQL training. So, naturally, I should be able to explain things like the different join types very well, shouldn't I?
Yes and no - the printed explanation as you see in books and on websites is often different to the more interactive demonstration which we do in class ... that can be even more effective!
Sameer goes on to ask for more information on other subjects such as self joins. With around 8000 pages on our site, there are plenty of answers here but we haven't yet got an indexing and search system that's as effective as we would like. So, Sameer, can I point you to:
• Our forum archive for
an answer on SELF JOIN
• A previous blog entry for
our MySQL IAQ (infrequently answered questions) page.
(written 2007-09-03)
Associated topics are indexed under
S157 - More MySQL commands [3270] SQL - Data v Metadata, and the various stages of data selection - (2011-04-29)
[3061] Databases - why data is split into separate tables, and how to join them - (2010-11-20)
[2647] Removing duplicates from a MySQL table - (2010-02-22)
[2645] Optimising and caching your MySQL enquiries - (2010-02-22)
[2644] Counting rows in joined MySQL tables - (2010-02-22)
[2643] Relating tables with joins in MySQL - (2010-02-21)
[2448] MySQL - efficiency and other topics - (2009-10-10)
[2259] Grouping rows for a summary report - MySQL and PHP - (2009-06-27)
[2110] MySQL - looking for records in one table that do NOT correspond to records in another table - (2009-03-31)
[1904] Ruby, Perl, Linux, MySQL - some training notes - (2008-11-23)
[1735] Finding words and work boundaries (MySQL, Perl, PHP) - (2008-08-03)
[1574] Joining MySQL tables revisited - finding nonmatching records, etc - (2008-03-15)
[1235] Outputting numbers as words - MySQL with Perl or PHP - (2007-06-17)
[1213] MySQL - the order of clauses and the order of actions - (2007-06-01)
[673] Helicopter views and tartans - (2006-04-06)
[591] Key facts - SQL and MySQL - (2006-02-04)
[581] Saving a MySQL query results to your local disc for Excel - (2006-01-29)
[572] Giving the researcher power over database analysis - (2006-01-22)
[567] Combining similar rows from a MySQL database select - (2006-01-17)
[517] An occasional chance, and reducing data to manageable levels - (2005-12-04)
[515] MySQL - an FAQ - (2005-12-03)
[513] MySQL - JOIN or WHERE to link tables correctly? - (2005-12-01)
[502] SELECT in MySQL - choosing the rows you want - (2005-11-22)
[494] MySQL - a score of things to remember - (2005-11-12)
[449] Matching in MySQL - (2005-09-24)
[279] Getting a list of unique values from a MySQL column - (2005-04-14)
[159] MySQL - Optimising Selects - (2004-12-21)
[158] MySQL - LEFT JOIN and RIGHT JOIN, INNER JOIN and OUTER JOIN - (2004-12-20)
Some other Articles
Expanding a grid - Tcl/TkStable sorting - Tcl, Perl and othersKasteel Elsloo - Michelin rated hotel.Melksham Hotel - Five Star Kitchen!MySQL joins revisitedWhile waiting for Melksham Post OfficeSubway Restaurant in Melksham, WiltshireOliver says ....Tktable - Laying out data in a matrix - Tcl/TkGUI design - Sketch it out first! (Java / Swing example)