SQL INNER JOIN example
Join customers to their orders with a runnable SQL INNER JOIN.
The foreign key relationship is represented by customer_id; the query combines names and order totals from two tables.
Write a query, load data, or pick a learning example.
Run with Cmd/Ctrl+Enter