Codecademy Alternatives for SQL: 7 Options, Free and Paid
By Owen Middleton · Updated November 2026
Codecademy SQL alternatives
The Codecademy alternative for SQL that we would open first is SQLZoo. In Learn SQL, you stop at joins, UNION and WITH. On SQLZoo, you go on to subqueries and window functions, and you need no account.
If you want more projects, take Khan Academy Intro to SQL. You get 4 free projects there with no account, but you get no window functions.
Do not pay for SQL yet: you get both topics free on SQLZoo.
We built SQLMaxx Learn, so we put it last of the 7 options.
Our take. If we had just finished Learn SQL, we would do the SQLZoo tutorial "SELECT within SELECT" first, and then its "Window function" tutorial. On SQLZoo, you read short notes and then you answer questions. If the SQLZoo notes are too short for you, read the free DataLemur lesson on the topic first. Then go back to SQLZoo to practice.
What does Codecademy do well for SQL?
- Codecademy made Learn SQL for complete beginners, and you can finish it in about 5 hours. how we know
- With a free account, you open every lesson of the course. how we know
- In each exercise, you read the task on the left, and you write your query and see its result on the right. how we know
That is a fair start. On the sites below, you go on from where you stopped in Learn SQL.
For our verdict on Codecademy itself, read our Codecademy SQL review.
Is the Codecademy SQL check too strict?
Yes, on row order. In our three tests with a free account, Codecademy passed other code with the same rows. On the two tasks that asked for no order, Codecademy failed the right rows in another order. So if you get a right answer marked wrong, take out your ORDER BY and run the query again. how we know
Two companies that sell courses say that the Codecademy exercises have faults. On the Dataquest blog, Mike Levy writes: "The answer checker sometimes rejects working code because it's not the expected solution." On the Scrimba blog, Per Harald Borgen says that the exercises "feel like filling in blanks rather than real coding". Each company puts itself first in its own article. how we know
The blanks point is true at the start. In the exercises that we opened, Codecademy first gives you the statement to type. In the next step, you change the query alone. how we know
If Codecademy fails your right rows again and again, try SQLZoo or SQLBolt: both took the right rows in another order in our tests. how we know
Which Codecademy SQL alternative fits your reason for leaving?
| Your reason to leave Codecademy | What you want | Sites |
|---|---|---|
| You get no exercise on subqueries or window functions. Ignore this if window functions are your only next topic and you will pay for the Analyze Data with SQL path. how we know | Subqueries and window functions | SQLZoo, DataCamp, DataLemur, SQLMaxx Learn (ours). |
| For more quizzes and for the certificate, you need a paid plan, for example Plus at $29.99 billed monthly, or $179.88 a year. Ignore this if you already pay. how we know | All of the SQL free | SQLZoo, Khan Academy Intro to SQL, SQLBolt, Kaggle, SQLMaxx Learn (ours). |
| On the free plan, you do 2 of the 5 Learn SQL projects. Ignore this if you will pay for the 19 projects of the Analyze Data with SQL path. how we know | Free SQL projects | Khan Academy Intro to SQL. |
| Codecademy runs Learn SQL on SQLite: in the editor, you see file names such as "query.sqlite". Ignore this if SQLite is fine for your goal. how we know | An engine other than SQLite | SQLZoo, Kaggle (BigQuery), DataCamp (PostgreSQL), DataLemur (PostgreSQL), SQLMaxx Learn (ours; PostgreSQL). |
| You need a free account to start a lesson. Ignore this if a free account is not a problem for you. how we know | A check with no account | SQLZoo, Khan Academy Intro to SQL, SQLBolt, SQLMaxx Learn (ours, in the app). |
The Codecademy SQL alternatives, one by one
In each card, look at "Next topics" to see if you get subqueries and window functions, the two topics after Learn SQL.
SQLZoo
For subqueries and window functions next, with each tutorial question checked and no sign-up.
- Price: Free; we saw no paid plan
- Check: Our test: rows in a new order passed; a result one row short failed
- Next topics: Both: the "SELECT within SELECT" and "Window function" tutorials
- Engine: Your pick of MySQL, PostgreSQL, Microsoft SQL or Oracle
- Limit: You get brief notes and then the questions, but no full lesson on the idea first.
Khan Academy Intro to SQL
For 4 free SQL projects, with talk-throughs before step-by-step challenges.
- Price: Free; Khan Academy, a nonprofit, asks for donations
- Check: You pass a challenge step only with the expected result
- Next topics: IN subqueries; no window functions
- Engine: SQLite, in your browser
- Limit: For window functions and CTEs, you will need another site.
SQLBolt
For short text lessons, each with tasks and a solution if you get stuck.
- Price: Free; SQLBolt asks for an optional $4
- Check: Your rows compared on most tasks
- Next topics: Subqueries on one text page, with no exercise
- Engine: An old SQLite, with no window functions
- Limit: You lose your check marks when you reload the page.
Kaggle Learn: Intro to SQL and Advanced SQL
For SQL on real public datasets, if you already know some Python.
- Price: Free: "No cost, like all Kaggle Learn Courses"
- Check: Your result compared on most Intro exercises
- Next topics: Analytic (window) functions; no lesson named for subqueries
- Engine: Google BigQuery
- Limit: You sign in to run an exercise, and you write your queries in Python notebooks.
DataCamp SQL Fundamentals
For one paid track from your first query to window functions, in PostgreSQL.
- Price: $35 a month, $330 a year; $11 a month yearly, Nov. 14
- Check: Right rows in another order passed; one row short failed
- Next topics: Both, in the course Data Manipulation in SQL
- Engine: PostgreSQL, in the whole track
- Limit: You need Premium for every chapter after the first, and for the track.
DataLemur SQL tutorial
For free text lessons on both topics, linked to real interview questions.
- Price: Lessons free; Premium is $15 monthly or $60 yearly
- Check: Our test: right rows in another order failed
- Next topics: Both, plus CTEs, LEAD and LAG
- Engine: PostgreSQL 14; MySQL on some questions
- Limit: With no account, you see your output, and you sign in to use Submit, the check.
To learn the two topics in order, read how subqueries in WHERE work, then how window functions work in SQL. To start from the beginning, open a SQL course in your browser.
Codecademy SQL alternatives: common questions
What is the best free alternative to Codecademy for SQL?
SQLZoo, if you finished Learn SQL and want to go on free. On SQLZoo, you can also choose an engine other than SQLite: PostgreSQL, MySQL, Microsoft SQL or Oracle, for each query. If free projects matter more to you, use Khan Academy Intro to SQL.
Are there sites like Codecademy for SQL that need no account?
Yes: SQLZoo, Khan Academy Intro to SQL and SQLBolt. On each one, you write a query and get a check on it with no sign-up. On Kaggle and DataCamp, you sign in before you can run a query. On DataLemur, you can run a query with no account, but you sign in for the check.
Where can I learn window functions after Codecademy's Learn SQL?
On SQLZoo, free, in its "Window function" tutorial. Kaggle Advanced SQL calls them analytic functions. You will not find them on Khan Academy or SQLBolt, so do not go there for this topic.
How we chose the Codecademy SQL alternatives
We did exercises on SQLZoo, Khan Academy and SQLBolt with no account, used free Codecademy, DataCamp and DataLemur accounts, read Kaggle, and paid nothing.
We look at Codecademy for SQL only here, not for web development or Python.
We began with 13 sites. They are the SQL courses on our pages of the best SQL courses and of free SQL courses, plus Kaggle Intro to SQL. Codecademy and our own course are not in the 13.
To be on this list, a site must pass four tests. Test 1: you write SQL queries on the site, and you can get a check on them there. We saw the check in our own run, or the company says that it checks. Test 2: you can use part of the SQL course free, with no end date. We do not count a free trial. Test 3: you learn subqueries, window functions or both there, the two topics with no exercise in Learn SQL. Test 4: we can place the site in at least one row of the reason table, by the test of that row.
We count a topic when the site has a lesson or a tutorial page on it, with an exercise or without one. We do not count a cheat sheet, a glossary or a sentence with the answer "no". We count "SELECT within SELECT" as subqueries, and "analytic function" or the keyword OVER as window functions.
We do not rank the sites, and we give no score. We sort the sites in three steps. In step one, everything for SQL is free, and you get a check with no account: SQLZoo, Khan Academy Intro to SQL and SQLBolt. In step two, everything is free, but you sign in for the check: Kaggle Learn: Intro to SQL and Advanced SQL. In step three, you pay for some part: DataCamp SQL Fundamentals, DataLemur SQL tutorial, Dataquest SQL Skills for Data Analysis and LearnSQL.com SQL from A to Z. Our own course comes after all of them.
Inside a step, we put a site with both topics before a site with one. Then we go by the alphabet, with letters and digits only. We list at most 6 sites, the first 6 in this order.
SQLMaxx Learn passes the same four tests, and we do not count it in the 6. In the app, we ran a two-query test on a WHERE problem with no required sort order. For the right rows in another order, SQLMaxx Learn showed "Correct!" For a result one row short, SQLMaxx Learn showed "Expected 11 rows, got 10."
For the rules that we use on every list of SQL alternatives, read how we pick the sites for a list.
SQL sites that we left out, against Codecademy
- Dataquest SQL Skills for Data Analysis. It passes the four tests, but it comes after the 6 sites that we list. We list our own course last, apart from the 6. Look at Dataquest if you will pay for a SQL path with 3 guided projects. Dataquest says that it has no videos.
- LearnSQL.com SQL from A to Z. It passes the four tests, but it comes after Dataquest. Look at it if you would rather pay one time than pay every month. LearnSQL.com calls its price a one-time charge.
- Udemy The Complete SQL Bootcamp (test 1). You install pgAdmin and do the challenges on your own computer, so you get no check on the site.
- The freeCodeCamp Relational Databases certification (test 1). You do its SQL workshops in a virtual Linux machine or on your own computer, not in the freeCodeCamp editor.
- The ThoughtSpot SQL tutorial (the Mode SQL Tutorial) (test 1). You compare your practice query with the given answer yourself.
- Coursera SQL for Data Science (test 2). You buy the Certificate experience to open the course materials.
- LinkedIn Learning SQL Essential Training (test 2). After a free month, you must pay to go on.
What we found on Codecademy
What Codecademy does well for SQL, from our free-account runs and from its course page.
Is the Codecademy SQL check too strict: what we found
What we found in our own runs with a free account, and what two course sellers say. On the blanks point, we opened 5 exercises in the Queries lesson. In 4 of them, Codecademy gives the whole statement to type in step 1. In "As", Codecademy puts a blank for the alias in the statement of step 1. In step 2 of each, you change the query with no code given.
Codecademy
- Codecademy account, checked November 10, 2026: source · our notes
- Codecademy account, note 2, checked November 10, 2026: source · our notes
- Codecademy account, note 3, checked November 10, 2026: source · our notes
- Codecademy content, checked November 10, 2026: source · our notes
- Codecademy content, note 2, checked November 10, 2026: source · our notes
- Codecademy account, note 4, checked November 10, 2026: source · our notes
SQL subqueries and window functions, against Codecademy
You learn subqueries and window functions on the site, both of them.
Codecademy
Free SQL practice, against Codecademy Basic
You can use all of the SQL on the site free, with no account or a free one.
Codecademy
SQLZoo
Khan Academy
SQLBolt
Free SQL projects, against Codecademy
You can do SQL projects on the site and pay nothing.
Codecademy
SQL engines other than SQLite, against Codecademy
You write your queries for a database engine other than SQLite.
SQL query checks with no account, against Codecademy
You can run a query and get a check on it with no sign-up.
SQLZoo
Khan Academy
SQLZoo
What we ran and read on SQLZoo, for a reader who leaves Codecademy, and how we counted its two topics.
SQLZoo
- SQLZoo SQL topics, checked October 12, 2026: source · our notes
- SQLZoo strength, checked October 12, 2026: source · our notes
- SQLZoo query check, checked October 17, 2026: source · our notes
- SQLZoo account, checked October 12, 2026: source · our notes
- SQLZoo price, checked October 12, 2026: source · our notes
- SQLZoo content, checked October 24, 2026: source · our notes
- SQLZoo SQL engines, checked October 20, 2026: source · our notes
- SQLZoo limit, checked October 12, 2026: source · our notes
Khan Academy Intro to SQL
What we ran and read on Khan Academy Intro to SQL, for a reader who leaves Codecademy, and how we counted its two topics.
Khan Academy
- Khan Academy content, checked November 10, 2026: source · our notes
- Khan Academy free use, checked October 12, 2026: source · our notes
- Khan Academy strength, checked October 24, 2026: source · our notes
- Khan Academy price, checked October 12, 2026: source · our notes
- Khan Academy query check, checked October 12, 2026: source · our notes
- Khan Academy SQL topics, checked October 12, 2026: source · our notes
- Khan Academy SQL engines, checked October 22, 2026: source · our notes
- Khan Academy limit, checked October 23, 2026: source · our notes
SQLBolt
What we ran and read on SQLBolt, for a reader who leaves Codecademy, and how we counted its two topics.
SQLBolt
- SQLBolt strength, checked October 12, 2026: source · our notes
- SQLBolt content, checked November 3, 2026: source · our notes
- SQLBolt solutions, checked October 22, 2026: source · our notes
- SQLBolt price, checked October 12, 2026: source · our notes
- SQLBolt query check, checked October 24, 2026: source · our notes
- SQLBolt SQL topics, checked October 23, 2026: source · our notes
- SQLBolt SQL engines, checked October 23, 2026: source · our notes
- SQLBolt SQL engines, note 2, checked October 23, 2026: source · our notes
- SQLBolt SQL engines, note 3, checked October 24, 2026: source · our notes
- SQLBolt content, note 2, checked October 23, 2026: source · our notes
Kaggle Learn: Intro to SQL and Advanced SQL
What we ran and read on Kaggle Learn: Intro to SQL and Advanced SQL, for a reader who leaves Codecademy, and how we counted its two topics.
Kaggle
- Kaggle strength, checked October 15, 2026: source · our notes
- Kaggle content, checked October 15, 2026: source · our notes
- Kaggle price, checked October 15, 2026: source · our notes
- Kaggle query check, checked October 16, 2026: source · our notes
- Kaggle SQL topics, checked October 15, 2026: source · our notes
- Kaggle SQL engines, checked October 15, 2026: source · our notes
- Kaggle account, checked October 15, 2026: source · our notes
- Kaggle limit, checked October 15, 2026: source · our notes
- Kaggle SQL topics, note 2, checked October 15, 2026: source · our notes
DataCamp SQL Fundamentals
What we ran and read on DataCamp SQL Fundamentals, for a reader who leaves Codecademy, and how we counted its two topics.
DataCamp
- DataCamp strength, checked October 30, 2026: source · our notes
- DataCamp limit, checked October 30, 2026: source · our notes
- DataCamp price, checked November 14, 2026: source · our notes
- DataCamp price, note 2, checked November 14, 2026: source · our notes
- DataCamp account, checked November 1, 2026: source · our notes
- DataCamp account, note 2, checked November 1, 2026: source · our notes
- DataCamp SQL topics, checked October 30, 2026: source · our notes
- DataCamp SQL engines, checked October 30, 2026: source · our notes
- DataCamp price, note 3, checked October 30, 2026: source · our notes
- DataCamp account, note 3, checked October 20, 2026: source · our notes
- DataCamp account, note 4, checked October 22, 2026: source · our notes
DataLemur SQL tutorial
What we ran and read on DataLemur SQL tutorial, for a reader who leaves Codecademy, and how we counted its two topics.
DataLemur
- DataLemur free use, checked October 23, 2026: source · our notes
- DataLemur SQL topics, checked October 23, 2026: source · our notes
- DataLemur content, checked October 23, 2026: source · our notes
- DataLemur strength, checked October 12, 2026: source · our notes
- DataLemur price, checked November 3, 2026: source · our notes
- DataLemur account, checked November 3, 2026: source · our notes
- DataLemur SQL engines, checked November 3, 2026: source · our notes
- DataLemur limit, checked October 20, 2026: source · our notes
- DataLemur account, note 2, checked October 20, 2026: source · our notes