We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74952c6 commit 58ff8b5Copy full SHA for 58ff8b5
1 file changed
0x0D-SQL_introduction/102-top_city.sql
@@ -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