Challenge: Analyze Price Distribution
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 2.86
Challenge: Analyze Price Distribution
Swipe um das Menü anzuzeigen
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 5
single