39
Week of 2026-W39 SQL Challenge of the Week

The SQL Challenge
that drops every Monday.

Solve it in your browser. Share your time. Come back next week. 138 challenges in rotation, picked deterministically each week — same challenge for everyone, no leaderboard gaming.

📅 You're viewing the archive for Week 2026-W39. Each week's challenge is locked deterministically — every visitor that week saw this same problem.→ Current week
Medium

GROUP BY + HAVING

Find movie genres that have at least 5 movies AND an average rating above 6.5. Show genre, movie_count, avg_rating (2 dec), and total_revenue (sum of revenue_millions, 0 dec). Sort by avg_rating descending. HAVING filters groups after aggr…

▶ Start Challenge No signup. Browser-based SQL editor. AI Coach if you get stuck.

📚 Recent Weeks

Past challenges are still solvable in the app. Each week's pick is deterministic, so anyone visiting that week sees the same challenge — fair time comparisons.

Why a weekly challenge?

Practicing SQL works the way going to the gym works: a small, predictable habit beats heroic sprints. 15 minutes every Monday for a year is enough to clear most data-analyst SQL interviews. A scattered hour-here-and-there approach plateaus around month 2.

The Weekly Challenge is the ritual. Same time every week, fresh problem, no decision fatigue. Solve it, share it if you want to, come back Monday. The practice bank of 300+ challenges is here when you want unlimited; the weekly is for when you want a single committed rep.

Want more than one a week?
300+ challenges, your first 10 solves free.

SQL Quest's free tier gives you 10 free challenge solves — any Easy or Medium, or one of the 6 Hard previews — plus the lessons, warm-ups, the daily challenge and the AI Coach with a daily quota.

Open SQL Quest — Free ⚡

Or: learn SQL from zero · interview prep hub · tutorials blog