Seksjon 1. Kapittel 17
single
Challenge: 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
MINfunction to get the lowest value in thepricecolumn. - Use the
MAXfunction to get the highest value in thepricecolumn. - Use the
AVGfunction to get the average value in thepricecolumn. - Return these values as
min_price,max_price, andavg_price.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 17
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår