r/learnSQL • u/ktgster • 1h ago
I built a free place to practice SQL past the basics: window functions, CTEs, anti-joins and NULL traps, all in your browser
When I was learning SQL, most practice sites stopped at SELECT and JOIN, and anything harder meant setting up a local database. Then interviews asked about running totals, top-N per group and NULL edge cases I'd never practiced.
So I built Queryosity. You write real queries against typed tables (DuckDB, PostgreSQL-style) right in the browser, and each answer is checked against hidden test cases, not just the example output, so the edge cases actually matter.
What's in the SQL track:
- Window functions: running totals, moving averages, RANK vs DENSE_RANK, top-N per group
- CTEs and multi-step queries
- Anti-joins and NULL pitfalls (NOT IN with NULLs, COUNT(*) vs COUNT(col))
- Conditional aggregation, dedupe, month-over-month growth, cohorts
- Hints that nudge you toward the answer without giving it away
There's a free plan and nothing to install. I'm a solo dev, so honest feedback helps a lot: which SQL topics or problem types are missing, and is anything confusing?