Skip to content

Commit 58ff8b5

Browse files
committed
19. Temperatures #1
1 parent 74952c6 commit 58ff8b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Displays the top 3 of cities temperature during July and August ordered by temperature (descending)
2+
SELECT city, AVG(value) as avg_temp FROM temperatures WHERE month between 07 and 08 GROUP BY city ORDER BY avg_temp DESC LIMIT 3;

0 commit comments

Comments
 (0)