sql cross join same table code example Example: sql cross join SELECT * FROM table1 CROSS JOIN table2;