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
9
1
2
3
4
SELECT AVG(price), album
FROM songs
GROUP BY album
ORDER BY AVG(price) DESC
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 3. Capitolo 8
single
9
1
No query executed yet... |
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione