Skip to main content
    SplashBI
    Data Analytics

    How To Learn SQL (For Free)

    Learn SQL without setting up a database. Explore four free, browser-based tools to build your SQL skills.

    Gus Caravalho
    Gus Caravalho
    Principal Enterprise Architect, SplashBI
    ·December 2, 2026·6 min read·
    Two people at a desk with a laptop show SQL code, next to a diagram of four browser-based tools for learning SQL.
    Data Analytics

    Years ago one of my little cousins got into equestrian vaulting, a horse sport also known by its electric French name: La Voltige. It’s essentially “gymnastics on horseback,” meaning you’re standing and jumping and spinning around on top of a horse while the horse is running. The whole thing is wild and something you rarely get to see in person, if for no other reason than, how many people are there out there who can pull off a flawless compulsory flag into an astride mill?

    But the real cause of the rarity of it is this: to do equestrian vaulting you need a horse. Not just a horse, but also a proper facility for the horse to run in, as well as a trained and capable Loungeur to control and direct the horse while you’re up there. Without all that, there’s just no way your La Voltige dream is ever going to get off the ground. They’re are all mandatory prerequisites.

    In this same context, contrast equestrian vaulting with, say, soccer, where all you need is a ball. Or basketball, where all you need is the ball and a basketball hoop. Or even baseball, where you need a ball, a bat, and gloves (unless you’re a nineteenth century tenement kid in New York, where you’d just need a rubber ball and a stick. And a newsies hat.) In fact, it’d be easier to get into ice hockey (puck, sticks, goal, skates, ICE) than equestrian vaulting.

    It’s pretty clear that the big inaccessibility issue here is the horse. All those other sports need equipment and facilities, sure, but you don’t need to feed and care for a basketball shoe. Horses are half-ton dogs that live twice as long and put down 20 pounds of hay a day. This got me thinking: if the inclusion of horses make sports harder to play, what’s the hardest horse sport to get into? What requires the most stuff?

    Initially I thought it’d be polo, because for some reason I imagined it like the Rohirrim charge with many, many players galloping around in a massive field (turns out: nine football fields-- so pretty big-- but only four on four). With that assumption dashed, I started researching other horse sports. There’s buzkashi, (played 10 on 10), which is essentially capture the flag on horseback, but with a goat carcass instead of a flag. And horseball (four on four, like polo), which is a combination of rugby and basketball…on horseback.

    But in the end, it seemed like regular old horse racing was probably the hardest sport to get into, because the races can have up to 20 horses at a time, because you’d need to either keep your weight under a trim 120 pounds or hire a professional jockey, and because you’d have to travel with your horse a lot to find other horses to race.

    All of this is a long way of saying: SQL is the horse sports of the data analytics world.

    Want to do some data work in Excel? All you need is the Excel grid, and you’re off and running. (Excel is soccer in our sports metaphor.) Want to use numpy in Python? Fire up VS Code (or whatever IDE), launch your Python environment, and you’re good to go. But even if all you want to do is practice basic SQL, before you can start there’s a whole horse sports’ worth of prerequisites you have to deal with first. DDL. Schema definitions. Column datatypes. Loading data. Verifying the loaded data. DROPing tables with incorrectly loaded data. Re-loading the data. There’s a whole profession’s worth of work that has to be done before you can write a single SELECT * statement.

    And the profession standing in the way of using SQL for data analysis is database administration.

    Historically, unavoidability of all this DBA setup work has meant that a large portion of the data community simply never learned SQL. Or said another way, the fact that SQL’s face to the world has traditionally been “database administration” has led a large portion of the data community to think of SQL as ancillary to their work. This is a tragedy, because it dooms these folks to never being able to work with their data at its source: in a database. Stuck on the outside looking in, these analysts are forced into a toiling life of endless manual Excel transformations, or worse, VBA macros.

    Happily, this no longer need be the case. The good people of the internet have created several different free “database in the browser” tools that allow you to practice SQL without having to set up an entire database first. It’s like we all moved from the city to a horse farm and then decided to get into buzkashi. The path to success is much more straightforward.

    Here are some of my favorites:

    SQL Zoo

    https://sqlzoo.net/wiki/SQL_Tutorial

    Never used SQL before? SQL Zoo will give you step-by-step instructions walking you through the basics. Each lesson also includes SQL boxes where you can enter your code, click Submit, and see the results of your query.

    SQL Zoo tutorial showing a SQL query and population result.

    Data Lemur

    https://datalemur.com/sql-tutorial

    Data Lemur is similar to SQL Zoo, but with a different, chattier energy. Here you’ll also be going through step-by-step lessons and instructions, and writing SQL in SQL boxes and clicking Submit, but Data Lemur also includes discussions and asides about how SQL works and little tips and tricks. This means that with Data Lemur, you’ll be reading substantially more words. If that’s not for you, start with SQL Zoo. But if you’re interested in SQL context alongside your SQL content, start with Data Lemur.

    DataLemur SQL Select practice exercise and query results.

    SQL Noir

    https://www.sqlnoir.com/

    Once you get the basic SQL concepts down, your continued progress toward SQL mastery will come down to, like everything else, practice, practice, practice. SQL Noir is an excellent, whimsical way to keep hitting your SQL practice goals, long after you’ve tired of mindlessly crunching world population, movie box office, and hypothetical e-commerce datasets. In SQL Noir, you’re a gumshoe detective tasked with solving various crimes of murder, theft, and sabotage. And the way you do it is by writing SQL. It’s wonderful.

    SQL Noir detective case with a SQL query and suspects table.

    Oracle FreeSQL

    https://freesql.com/

    This is a big pivot from SQL Noir, but sometimes you just need to pay the bills. Need to focus specifically on the Oracle dialect of SQL? Well Oracle has you covered. FreeSQL is a free SQL sandbox from Oracle that allows you to practice Oracle-dialect SQL against a variety of business-y datasets, including the HR one below, as well as a customer orders one, sales history, and several others.

    Oracle FreeSQL worksheet querying the sample HR dataset.

    Once your SQL skills are feeling strong, you’ll want to ask your work for ERP database access so you can begin working with your own organization’s data. When you do this, you’re going to need to propose the tool you’re going to use to run your SQL, because otherwise you’re going to get stuck with an unwieldy, massively feature-bloated (for your purposes) DBA database management application.

    I recommend you propose SQL Connect, SplashBI’s enterprise data IDE, as your SQL query tool. It’s lightweight, affordable, Git-enabled, and, critically, has enterprise-grade security so IT will take your request seriously. Run your SQL live against Oracle Fusion, Oracle EBS, Workday, Salesforce, SAP SuccessFactors, ServiceNow, all the databases organizations run on, and start leveling up your data career.

    Get started with a 15-day free trial today.

    Tags
    SQLSQL ConnectData Analytics
    Gus Caravalho
    Gus Caravalho
    Principal Enterprise Architect, SplashBI

    Gus is a longtime veteran of local government's "analytical capability," serving most recently as Financial Data and Analytics Manager for Arlington County, VA. He is currently Principle Enterprise Architect at SplashBI, an enterprise analytics company empowering analysts to make the dream of data-driven decision making finally a reality.

    More from the SplashBI blog

    Stop waiting for reports. Just ask