40

Orders with Product Details

MediumJOINrelationships

Problem Description

Write a SQL query to list order items with product names and quantities.

Expected Columns

  • order_id
  • product_name
  • quantity

Example Output

| order_id | product_name | quantity | |----------|--------------|----------| | 1 | Laptop Pro | 1 | | 1 | Wireless Mouse | 1 | | 2 | Office Chair | 1 | | ... | ... | ... |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints
//#40 Orders with Product Details
Medium

Loading schema...

Loading editor...

No results yet

Run a query to see results