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

bookChallenge: Find Low Stock Products

Opgave

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.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 3
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

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

Stryg for at vise menuen

Opgave

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 3
single

single

some-alt