Avsnitt 1. Kapitel 17
single
Challenge: Analyze Price Distribution
Svep för att visa menyn
Uppgift
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
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 17
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal