AltQuery
Initializing SQL database...
Back to Questions

Join customers with orders #191

hard

Show customer_name with their order_amount. Complex joins with multiple tables, self-joins, or joins combined with aggregation and filtering. Plan your join strategy carefully and consider the relationships between tables.

Practice with:

Database Schema

customers

customers information

idnameref_id

orders

orders information

idname

Expected Output

Click "Show" to see what the correct output should look like.Tip: Try solving it yourself first for better learning!

SQL Editor

Loading...

Start typing for autocomplete

AI Help

Ask for help!