AnalystPath

Products Below Reorder Point

SQLEasyJunior levelWalmart~15 min

Problem

**[Asked at Walmart]**

Walmart's inventory system flags products that need restocking.
A product triggers a restock alert when `current_stock < reorder_point`.

Find all products that need restocking. Return `product_name`,
`current_stock`, and `reorder_point`, ordered alphabetically by product name.

Tables

Example rows — the live problem includes the full dataset.

inventory
product_idproduct_namecurrent_stockreorder_point

Expected output

Your answer should return 3 rows with the columns product_name, current_stock, reorder_point.

Starter code (SQL)

SELECT *
FROM inventory;

Solve this SQL question free

Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related SQL questions