Challenge: 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, andstockfrom theproductstable. - Filter the results to include only those rows where the value in the
stockcolumn is less than or equal to 50.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 3
single
Spørg AI
Spørg AI
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?
Fantastisk!
Completion rate forbedret til 2.86
Challenge: 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, andstockfrom theproductstable. - Filter the results to include only those rows where the value in the
stockcolumn is less than or equal to 50.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 3
single