~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/join.rst

  • Committer: Brian Aker
  • Date: 2011-02-08 02:06:04 UTC
  • mto: (2152.2.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2154.
  • Revision ID: brian@tangent.org-20110208020604-p23mwd9yvamuwbwu
Merge in column varchar build.

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.