Products between $20 and $60
Easy
Show the name and price of products priced from 20 to 60 inclusive.
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 |
|---|---|
| Wireless mouse | 29.0 |
| USB-C hub | 49.0 |
| Python Crash Course (book) | 45.0 |
| SQL Pocket Guide | 25.0 |
| Desk lamp | 59.0 |
| Coffee beans 1 kg | 32.0 |
6 rows
Show a solution
SELECT name, price FROM products WHERE price BETWEEN 20 AND 60;
SQL used
New to SQL? The free SQL course teaches everything these problems use, with a self-checking exercise in every lesson.