~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/join.rst

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    * JOIN: Return rows when there is at least one match in both tables
50
50
    * LEFT JOIN: Return all rows from the left table, even if there are no matches in the right table
51
51
    * RIGHT JOIN: Return all rows from the right table, even if there are no matches in the left table
52
 
    * CROSS JOIN: Return rows when there is a match in one of the tables
53
 
 
54
 
.. note::
55
 
 
56
 
   Implicit cartesian products of the form ``SELECT * FROM t1, t2`` without a 
57
 
   ``WHERE`` or ``ON`` condition will error.  If such behaviour is intended
58
 
   please use ``SELECT * FROM t1 CROSS JOIN t2``.
59
 
 
60
 
.. todo::
61
 
 
62
 
   how joins are executed. i.e. nested loop join.
 
52
    * FULL JOIN: Return rows when there is a match in one of the tables
 
53
 
 
54
 
 
55
FIXME: how joins are executed. i.e. nested loop join.