Expensive electronics
Easyrow order matters
Show the name and price of Electronics products costing more than 100, most expensive first.
Tables: customers(customer_id, name, city, country, joined) · products(product_id, name, category, price) · orders(order_id, customer_id, order_date, status) · order_items(order_id, product_id, quantity, unit_price)
Your query✔ Solved
Show the expected result
| name | price |
|---|---|
| 27-inch monitor | 329.0 |
| Noise-cancelling headphones | 249.0 |
| Mechanical keyboard | 119.0 |
3 rows
Show a solution
SELECT name, price FROM products WHERE category = 'Electronics' AND price > 100 ORDER BY price DESC;
SQL used
New to SQL? The free SQL course teaches everything these problems use, with a self-checking exercise in every lesson.