Hope these help! Practice SQL - SQL Zoo SQL Challenges - HackerRank Explore - DoltHub - This has public databases that you can query. I find it pretty fun to find a database that contains data you might find interesting and start practicing that. (I.e. challenge yourself to find top 10 NBA scorers under 25 years of age or whatever) Answer from BitesizedBlubber on reddit.com
🌐
HackerRank
hackerrank.com › domains › sql
Solve SQL Code Challenges
SQL (Advanced) Difficulty · Easy · Medium · Hard · Subdomains · Basic Select · Advanced Select · Aggregation · Basic Join · Advanced Join · Alternative Queries ·
🌐
InterviewBit
interviewbit.com › sql-interview-questions
SQL Interview Questions CHEAT SHEET (2026) - InterviewBit
This guide will help you to brush up on your SQL skills, regain your confidence and be job-ready! Here, you will find a collection of real-world Interview questions asked in companies like Google, Oracle, Amazon, and Microsoft, etc. Each question comes with a perfectly written answer inline, saving your interview preparation time. It also covers practice problems to help you understand the basic concepts of SQL.
Published   March 24, 2026
Discussions

Need more SQL practice? Use these wesites - SQL - Code with Mosh Forum
Since getting SQL skills require study and practice, I found a couple of extra websites to practice SQL. I wanted to find graded exercises (or a way to know if my queries were well written). Here are my findings: Exercise v3.0 Graded exercises and theory in case you need it. More on forum.codewithmosh.com
🌐 forum.codewithmosh.com
4
January 20, 2021
Is there a site to practice SQL Queries?
I like https://sqlzoo.net/ . They start with the basics and get more and more complex. More on reddit.com
🌐 r/learnprogramming
108
1113
October 19, 2022
Practice of Basic SQL queries
DataLemur https://datalemur.com/ This is the best site that I know, it helped me a lot since it let's you choose exercises on different levels and let's you compare the answer to the most optimal. More on reddit.com
🌐 r/SQL
27
47
October 1, 2024
SQL Practice for interview
https://advancedsqlpuzzles.com You can try the above. There is a GitHub with a pdf of puzzles. More on reddit.com
🌐 r/SQL
23
37
April 28, 2024
🌐
Code with Mosh
forum.codewithmosh.com › sql
Need more SQL practice? Use these wesites - SQL - Code with Mosh Forum
January 20, 2021 - Since getting SQL skills require study and practice, I found a couple of extra websites to practice SQL. I wanted to find graded exercises (or a way to know if my queries were well written). Here are my findings: Exercise v3.0 Graded exercises and theory in case you need it.
🌐
W3Schools
w3schools.com › sql › sql_exercises.asp
SQL Exercises
SQL HOME SQL Intro SQL Syntax SQL Select SQL Select Distinct SQL Where SQL Order By SQL And SQL Or SQL Not SQL Insert Into SQL Null Values SQL Update SQL Delete SQL Select Top SQL Aggregate Functions SQL Min() SQL Max() SQL Count() SQL Sum() SQL Avg() SQL Like SQL Wildcards SQL In SQL Between SQL Aliases SQL Joins SQL Inner Join SQL Left Join SQL Right Join SQL Full Join SQL Self Join SQL Union SQL Union All SQL Group By SQL Having SQL Exists SQL Any SQL All SQL Select Into SQL Insert Into Select SQL Case SQL Null Functions SQL Stored Procedures SQL Comments SQL Operators
🌐
Quora
quora.com › How-do-I-practice-SQL-queries-at-home
How to practice SQL queries at home - Quora
Answer (1 of 2): Links below: TIPS: 1. Just learn the basic code. Simple Select statements. Do not get involved with Data theory such as RDBMS tables, Normalization. Or even WHY at the moment; (you can get that later). 2. Do NOT spend time setting up LAMP stacks and building your own data sets....
Find elsewhere
🌐
SQLBolt
sqlbolt.com
SQLBolt - Learn SQL - Introduction to SQL
2) SQL Lesson 4: Filtering and sorting Query results SQL Review: Simple SELECT Queries SQL Lesson 6: Multi-table queries with JOINs SQL Lesson 7: OUTER JOINs SQL Lesson 8: A short note on NULLs SQL Lesson 9: Queries with expressions SQL Lesson 10: Queries with aggregates (Pt.
🌐
w3resource
w3resource.com › sql-exercises
SQL Exercises, Practice, Solution - w3resource
This resource offers a total of 2605 SQL problems for practice.
🌐
CodeChef
codechef.com › practice › sql-case-studies-topic-wise
SQL Practice Queries
Practice queries on Select, Where, Limit, Order by, Aggregates, Group by, Joins, Sub-queries and Case expressions. Solve over 80 SQL exercises using real life case studies. Write queries in MySQL syntax.
🌐
SQL Practice Online
sql-practice.online
SQL Practice Online - Free Interactive SQL Learning Platform
Free SQL practice platform with interactive exercises and real databases. Learn SQL queries, master interview questions, advance your career. No signup required!
🌐
Mtnima
govcomapi.mtnima.gov.mr › ITUNE › 8R9359M › 200426 › sql__practice-exercises_with_solutions.pdf
Sql Practice Exercises With Solutions
Check any cables and reboot any routers, modems, or other network devices you may be using · If it is already listed as a program allowed to access the network, try removing it from the list and adding it again · Check your proxy settings or contact your network administrator to make sure ...
🌐
DataLemur
datalemur.com
DataLemur - Ace the SQL & Data Science Interview
I’m so glad I came to know about DataLemur because a few months later when I interviewed at Amazon, not one but TWO of the SQL problems from DataLemur showed up during my onsite interview which I was easily able to ace!" ... "In Fall 2021 I used the book Ace the Data Science Interview to land a Product Data Science job at Meta. As I prep to switch jobs in early 2023, DataLemur is proving itself very handy because it allows me to interactively practice many of the SQL questions from the book, but also has tons of new Stats & ML interview questions that aren’t in the book"
🌐
SQLZoo
sqlzoo.net › wiki › SQL_Tutorial
SQLZoo
From SQLZoo · Main Page · Discussion · More · Read · View source · History · 0 SELECT basics · Some simple queries to get you started · 1 SELECT name · Some pattern matching queries · 2 SELECT from World · In which we query the World country profile table. 3 SELECT from Nobel · Additional practice of the basic features using a table of Nobel Prize winners.
🌐
DataCamp
datacamp.com › blog › top-sql-interview-questions-and-answers-for-beginners-and-intermediate-practitioners
Top 99 SQL Interview Questions and Answers for 2026 | DataCamp
February 27, 2026 - Intermediate practitioners might ... involve optimizing queries for performance. ... Reviewing SQL basics and advanced concepts. Practicing writing queries to solve common problems....
🌐
Mebrahimii
mebrahimii.github.io › comp440-spring2020 › lecture › week_6 › SQL_Practice.pdf pdf
SQL Practice 1 One table, Aggregation, Group By 24 Queries
SQL Practice 1 · One table, Aggregation, Group By · 24 Queries · Link: https://www.w3resource.com/sql-exercises/ Query 1 · • Display name and commission of all the salesmen. Query 1 · • Display name and commission for all the · salesmen. SELECT name, commission ·
🌐
SQL Practice
sql-practice.com
Learn SQL - Online SQL Terminal - Practice SQL Querys
We cannot provide a description for this page right now
🌐
LeetCode
leetcode.com › problemset › database
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
🌐
YouTube
youtube.com › playlist
Practice Solving BASIC SQL Queries - YouTube
This playlist contains videos where I am solving Basic level of SQL Queries. All videos here, will help you to practice writing Basic SQL queries.
🌐
MetaFilter
ask.metafilter.com › 170087 › SQL-learning-exercises
SQL learning exercises - need to these | Ask MetaFilter
November 9, 2010 - (And if you are unsure if your queries against the Infodump actually give the correct results, you can start with not too complicated queries that you can verify with the Infodumpster). posted by davar at 12:50 AM on November 10, 2010 · Joe Celko's SQL Puzzles and Answers, Second Edition.
🌐
Reddit
reddit.com › r/learnprogramming › is there a site to practice sql queries?
r/learnprogramming on Reddit: Is there a site to practice SQL Queries?
October 19, 2022 -

When not using SQL Queries I'm slowly forgetting them. So I tried looking for a website that gives you custom and maybe even random data you can query just so you can practice but I didn't find good sites for that. Maybe you have a secret tip for me.