AltQuery
Initializing SQL database...
Back to Questions

Join products with categories #204

hard

Show product_name with their category_name. 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

products

products information

idnameref_id

categories

categories 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!