Skip to main content
SQL Code Completion Easy +10 XP

JOIN Clause

Complete the JOIN query.

SQLFill in the blank
SELECT users.name, orders.total
FROM users
___ JOIN orders ON users.id = orders.user_id;

Type the missing code

Show answer and explanation

Answer: INNER

INNER JOIN returns only rows with matching records in both tables.

Hint: Which JOIN returns only matching rows?

What this challenge tests

Code Completion in SQL: joins, inner-join.

Related challenges