Learn VisualLearn SQL

INNER JOIN Connects Matching Rows

INNER JOIN connects rows from two tables only when the values in a chosen column match. Matching customers.id with orders.customer_id combines customer and order information into one row. If no matching row exists, that row does not remain in the result.

GOAL

Predict which rows remain after an INNER JOIN.

Does a customer without an order remain in an INNER JOIN of customers and orders?