r/learnSQL • • 1d 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?

queryosity.dev

1 Upvotes

3 comments sorted by

1

u/lolcrunchy 21h ago

Wow another "i built a sql learning platform" thank you

1

u/ktgster 13h ago

It also has adjacent skills because SQL alone is no longer enough for modern data roles.

2

u/Least_Ad_1795 1d ago

This looks like a useful platform, especially for students preparing for SQL interviews. Many beginners understand SELECT, JOIN, and GROUP BY but struggle when they reach window functions, CTEs, and NULL handling. I think adding real-world business scenarios, difficulty levels, and interview-style challenges with explanations for different solutions would make it even more valuable. It would also be helpful to include progress tracking so learners can identify which SQL concepts they need to improve.