CBSE Class 12 Informatics Practices
Question 55 of 91
JOINS and SET Operations — Question 6
Back to all questionsThe two ways to create cartesian product of two tables in MySQL are as follows:
1. Creating Cartesian Product Without Join Condition:
SELECT *
FROM table1 JOIN table2;2. Creating Cartesian Product Using CROSS JOIN Clause:
SELECT *
FROM table1
CROSS JOIN table2;