| |
| Capitals |
| Country |
Capital |
| India |
New Delhi |
| USA |
Washington |
| France |
Paris |
|
|
| Continents |
| Country |
Continent |
| India |
Asia |
| USA |
N.America |
| Italy |
Europe |
|
|
---- Produces the Cartesian product of the tables involved in the join.
SELECT Capitals.*, Continents.Continent
FROM Capitals
CROSS JOIN Continents
| Output |
| Country |
Capital |
Continent |
| India |
New Delhi |
Asia |
| USA |
Washington |
Asia |
| France |
Paris |
Asia |
| India |
New Delhi |
N.America |
| USA |
Washington |
N.America |
| France |
Paris |
N.America |
| India |
New Delhi |
Europe |
| USA |
Washington |
Europe |
| France |
Paris |
Europe |
|