Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Find Low Stock Products | Numeric Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Find Low Stock Products

Tâche

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

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 3
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Find Low Stock Products

Glissez pour afficher le menu

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 3
single

single

some-alt