All SQL problems
EasyORDER BY
Cheapest product first
List every product sorted by price ascending. Return name + price.
- #order-by
- #sort
Schema (SQLite, in-browser)
customers (id, name, city, signup_date) products (id, name, category, price) orders (id, customer_id, order_date, status) order_items (order_id, product_id, quantity)
Sample input
8 products
Expected shape
8 rows sorted by price
sql-order-by.sqlSQLite
Result
Press “Run query” to execute against the sample database.
