Skip to content
Sharp

SQL for Java Devs · interview question

What does a RIGHT JOIN between two tables evaluate to?

Multiple choiceMediumchapter-8-curatedpremiumsql-for-java-devsjoins
Choose one answer
Answer and explanation

Correct answer

D. All rows from the right table and matching rows from the left table.

Why

A RIGHT JOIN returns all rows from the right table and the matched rows from the left table, or NULLs where there is no match.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →