Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What happens when a LEFT JOIN has a condition on the right table in the WHERE clause?

  1. A It effectively becomes an INNER JOIN by discarding the NULL rows
  2. B It returns more rows
  3. C It errors
  4. D Nothing changes
Answer

It effectively becomes an INNER JOIN by discarding the NULL rows

Putting the condition in the ON clause instead preserves the unmatched left rows, which was the point of the LEFT JOIN.

All Data MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as