Products Low on Stock

A shop wants to see which products need reordering soon. Write a query returning the name and stock of every product with fewer than 15 in stock, listed with the lowest stock first.

query.sql
Loading editor…

Test cases

  • Full result: products with stock under 15, lowest first
  • Returns exactly three products

Use Run to explore freely against the sample database. Use Submit to grade your query against every test case, including any hidden ones.