There are multiple ways to create cartesian product of two tables in MySQL. Describe them.
3 Likes
The 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;
Answered By
2 Likes
Define an equi-join. What is non-equi-join ?
What is join ? How many different types of joins can you create in MySQL ?
How is a left join different from a natural join ?
How is a cross join different from natural join ?