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
🌐
W3Schools
w3schools.com β€Ί sql β€Ί sql_exercises.asp
SQL Exercises
String Functions: Asc Chr Concat with & CurDir Format InStr InstrRev LCase Left Len LTrim Mid Replace Right RTrim Space Split Str StrComp StrConv StrReverse Trim UCase Numeric Functions: Abs Atn Avg Cos Count Exp Fix Format Int Max Min Randomize Rnd Round Sgn Sqr Sum Val Date Functions: Date DateAdd DateDiff DatePart DateSerial DateValue Day Format Hour Minute Month MonthName Now Second Time TimeSerial TimeValue Weekday WeekdayName Year Other Functions: CurrentUser Environ IsDate IsNull IsNumeric SQL Quick Ref Β· SQL Examples SQL Editor SQL Quiz SQL Exercises SQL Server SQL Syllabus SQL Study Plan SQL Bootcamp SQL Training
🌐
HackerRank
hackerrank.com β€Ί domains β€Ί sql
Solve SQL Code Challenges
Join over 28 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
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
How do i practice SQL to be real world ready?
Track your expenses! Enter everything. Import csv format and modify. You'll have various data types to work with. Change up the dates. Now you'll be able to create queries that you might end up using! More on reddit.com
🌐 r/SQL
29
34
June 5, 2023
Exercises for complete newbies
The Data Lemur SQL questions give a pretty good breadth of easy→hard problems. I think they back it with Postgres or MySQL/MariaDB, but most of the concepts translate pretty readily to MSSQL. More on reddit.com
🌐 r/SQL
25
32
December 14, 2024
Best (Free) Platform to practice HARD SQL Questions for Interviews?
Have you done SQL hards on DataLemur ? More on reddit.com
🌐 r/SQL
27
62
April 16, 2023
🌐
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.
🌐
LeetCode
leetcode.com β€Ί studyplan β€Ί top-sql-50
SQL 50 - Study Plan - LeetCode
50 essential SQL questions Β· Best for 1 month of prep time Β· Award Β· SQL 50 Β· Complete the study plan to win the badge!
Find elsewhere
🌐
SQLZoo
sqlzoo.net β€Ί wiki β€Ί SQL_Tutorial
SQLZoo
Additional practice of the basic features using a table of Nobel Prize winners. ... In which we form queries using other queries.
🌐
SQL Practice
sql-practice.com
Learn SQL - Online SQL Terminal - Practice SQL Querys
We cannot provide a description for this page right now
🌐
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.
🌐
w3resource
w3resource.com β€Ί sql-exercises
SQL Exercises, Practice, Solution - w3resource
This resource offers a total of 2605 SQL problems for practice. It includes 1246 main exercises, each accompanied by solutions, detailed explanations, and four/five related problems.
🌐
DataLemur
datalemur.com β€Ί questions β€Ί sql-where-practice-exercise
SQL WHERE Practice Exercise
Dive into our SQL WHERE clause tutorial and practice exercise where you'll filter a database of Amazon products.
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί sql β€Ί sql-exercises
SQL Exercises : SQL Practice with Solution for Beginners and Experienced - GeeksforGeeks
April 1, 2026 - This section offers beginner-friendly SQL exercises covering SELECT, INSERT, UPDATE, and DELETE using tables like Sales and Products to build a strong foundation for real-world database tasks.
🌐
DataLemur
datalemur.com β€Ί sql-tutorial β€Ί sql-joins-inner-outer-left-right
SQL JOINS Tutorial With Practice Exercises
As a Data Analyst or Data Scientist, you'll almost always be pulling data from multiple tables, which is why the SQL JOIN is crucial. For example, at Spotify you might analyze Drake 🐐 by writing queries that combine two tables like:
🌐
Excel Exercises
excelexercises.com β€Ί sql.html
Learn SQL | Free SQL Exercises & Interactive Practice Online
February 27, 2026 - Master SQL faster with hands-on practice that actually works ... Write real SQL queries in your browser. Get instant feedback on every exercise. ... Start with SELECT basics and progress to complex JOINs, subqueries, and aggregations.
🌐
Sql-practice
sql-practice.online β€Ί sql-practice-free
SQL Practice Online Free - 60+ Interactive Exercises | Start Learning Today | SQL Practice Online
Practice SQL online for free with 60+ interactive exercises. No signup required! Learn SQL queries, joins, functions with real databases. Perfect for beginners and interviews.
🌐
Scribd
scribd.com β€Ί document β€Ί 545210971 β€Ί SQL-Exercises
20 SQL Exercises For Practice: Table Structure and Schema | PDF | Data | Data Management
SQL Exercises - Free download as PDF File (.pdf), Text File (.txt) or read online for free. This document provides 20 SQL exercises for practice on employee and department database tables. The exercises include queries to select employees by name, job, and salary; find the highest, second highest, and nth highest salaries; join tables to show employees and their managers; count employees by department and manager; analyze hire dates and salary ranges; and filter records by name and hire date.
Rating: 5 ​ - ​ 5 votes
🌐
Sql-ex
sql-ex.ru
SQL exercises
SQL remote education. Interactive exercises on SQL statements: SELECT,INSERT,UPDATE,DELETE
🌐
Placement Preparation
placementpreparation.io β€Ί programming-exercises β€Ί sql
Best SQL Exercises for Beginners to Advanced Level
Stay on the cutting edge with exercises that are constantly updated to reflect the latest SQL trends and best practices. Our platform helps keep your knowledge up-to-date in an evolving field. ... Your information is safe and secure... ... Your information is safe and secure... ... Our SQL exercises cover everything from fundamentals (basic queries, filtering, and joins) to advanced topics like subqueries, window functions, and performance optimization. ... We organize exercises into three levels: Beginner for SQL basics, Intermediate for deeper concepts, and Advanced for complex programming challenges.
🌐
SQLBolt
sqlbolt.com
SQLBolt - Learn SQL - Introduction to SQL
SQLBolt provides a set of interactive lessons and exercises to help you learn SQL