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

bookChallenge: Analyze Price Distribution

Oppgave

Swipe to start coding

Write a query to find the minimum, maximum, and average product price from the products table.

  • Use the MIN function to get the lowest value in the price column.
  • Use the MAX function to get the highest value in the price column.
  • Use the AVG function to get the average value in the price column.
  • Return these values as min_price, max_price, and avg_price.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5
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 that in simpler terms?

What are the main benefits of this approach?

Are there any common mistakes to avoid with this?

close

bookChallenge: Analyze Price Distribution

Sveip for å vise menyen

Oppgave

Swipe to start coding

Write a query to find the minimum, maximum, and average product price from the products table.

  • Use the MIN function to get the lowest value in the price column.
  • Use the MAX function to get the highest value in the price column.
  • Use the AVG function to get the average value in the price column.
  • Return these values as min_price, max_price, and avg_price.

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 5
single

single

some-alt