Challenge: Analyze Price Distribution
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 3. Capitolo 5
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 2.86
Challenge: Analyze Price Distribution
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 3. Capitolo 5
single