Create a join query and a subquery that return the same resu

Create a join query and a subquery that return the same results.

Solution

A LEFT [OUTER] JOIN can be faster than an equivalent subquery because the server might be able to optimize it better—a fact that is not specific to MySQL Server alone.

So subqueries can be slower than LEFT [OUTER] JOINS, but in my opinion their strength is slightly higher readability.

Create a join query and a subquery that return the same results.SolutionA LEFT [OUTER] JOIN can be faster than an equivalent subquery because the server might b

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site