Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge Group By | Filtering Statements
SQL Tutorial for Beginners

book
Challenge Group By

Compito

Swipe to start coding

For each album, find the average price of songs. Order records from biggest to smallest average price.

Soluzione

SELECT AVG(price), album
FROM songs
GROUP BY album
ORDER BY AVG(price) DESC

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 8
single

single


Query ResultQuery Result
No query executed yet...

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

some-alt