Skip to content
Sharp

SQL for Java Devs · interview question

What does an INNER JOIN between two tables on a foreign key evaluate to?

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

Correct answer

D. Rows that have matching values in both tables.

Why

An INNER JOIN returns rows where there is a match in both tables based on the specified foreign key.

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 →