<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Join (SQL) - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Join_(SQL)&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Join_%28SQL%29&amp;p=5">3.Next</a>
</p>

<p>INSERT INTO employeeVALUES ('Rafferty', 31),       ('Jones', 33),       ('Heisenberg', 33),       ('Robinson', 34),       ('Smith', 34),       ('Williams', NULL);</p>

<p><big>Cross join</big></p>
<p><code>CROSS JOIN</code> returns the <a href="page.php?w=Cartesian_product">Cartesian product</a> of rows from tables in the join. In other words, it will produce rows which combine each row from the first table with each row from the second table.</p>

<p>Example of an explicit cross join:<syntaxhighlight lang=sql></syntaxhighlight></p>

<p>SELECT *FROM</p><p>
<a accesskey="1" href="page.php?w=Join_(SQL)&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Join_%28SQL%29&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
