Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Find Low Stock Products | Numeric Functions
Functions in SQL
Sectionย 3. Chapterย 3
single

single

bookChallenge: Find Low Stock Products

Swipe to show menu

Task

Swipe to start coding

Write a query to list all products where the stock is less than or equal to 5.

  • Select the columns product_id, name, price, discount, and stock from the products table.
  • Filter the results to include only those rows where the value in the stock column is less than or equal to 50.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Sectionย 3. Chapterย 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt