SQLite CROSS JOIN Keyword
CROSS JOIN
CROSS JOIN combines every record from the first table with every record from the second table.

There are 3 shippers and 8 categories, so this example returns 3 x 8 = 24 records:
Example
SELECT Shippers.ShipperName,
Categories.CategoryName
FROM Shippers
CROSS JOIN Categories;
Try it Yourself »
Big Results
A CROSS JOIN can return a lot of records. There are 91 customers and 196 orders, so this example returns 91 x 196 = 17836 records:
Example
SELECT Customers.CustomerName, Orders.OrderID
FROM Customers
CROSS JOIN Orders;
Try it Yourself »
CROSS JOIN With WHERE
With a WHERE clause that matches the related columns, a CROSS JOIN gives the same result as an INNER JOIN:
Example
SELECT Customers.CustomerName, Orders.OrderID
FROM Customers
CROSS JOIN Orders
WHERE Customers.CustomerID = Orders.CustomerID;
Try it Yourself »