Mastering SQL is a hands-on experience — learning the concepts is one thing, but writing good queries requires practice. Whether you’re a complete beginner, someone who just finished our SQL Basics course, or an SQL enthusiast who’s simply eager to hone their skills, there’s always room for improvement. This practice set tests your basic SQL knowledge and shows you where you need to improve.

The scope of this practice set includes:

  • simple SELECT queries;
  • aggregate functions (COUNT, SUM, AVG);
  • grouping and ordering results;
  • JOINs (querying from multiple tables, self joins, LEFT JOIN, RIGHT JOIN, and non-equi JOINs);
  • subqueries (simple subqueries, subqueries with multiple results, correlated subqueries, and subqueries in the FROM and SELECT clauses).

The last two parts of the course comprise a special challenge that combines all of the above material for a comprehensive review.

What Do You Need To Take This Course?

Just a web browser and an Internet connection

Who Should Take This Course?

  • Analysts who use relational databases
  • Students taking courses in relational databases
  • Beginning programmers interested in SQL
  • Business database users who want to improve their querying skills
  • Anyone who finished the SQL Basics course or has equivalent knowledge
  • Anyone who wants to practice writing SQL queries
    Start now

    Table of contents

    Progress: 0% completed 0 of 88 exercises done

    1. Warm up: Selecting from one table

    Review the fundamentals of SQL. Practise using SELECT and WHERE to filter data.

    More details Less
    Start now

    0% completed 0 of 9 exercises done

    2. Aggregation and grouping

    Test your knowledge of GROUP BY and ORDER BY clauses.

    More details Less
    Start now

    0% completed 0 of 11 exercises done

    3. JOINs

    Practise using JOIN, LEFT JOIN, and non-equi JOIN. Check your skills of working with multiple tables.

    More details Less
    Start now

    0% completed 0 of 31 exercises done

    4. Subqueries

    Verify your knowledge of subqueries. Practise simple and correlated subqueries.

    More details Less
    Start now

    0% completed 0 of 15 exercises done

    5. SQL Challenge

    Practise your SQL skills. Write SQL queries which combine SELECT, WHERE, JOIN, GROUP BY, HAVING, ORDER BY and subqueries.

    More details Less
    Start now

    0% completed 0 of 22 exercises done


    Average rating

    5/5100.0 (7)


    5 Stars 100%
    4 Stars 0%
    3 Stars 0%
    2 Stars 0%
    1 Stars 0%
      Load more reviews