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

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 3
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

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

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 3
single

single

some-alt