cross join to filter two tables in SQL code example Example: sql cross join SELECT * FROM table1 CROSS JOIN table2;