r/SQL • • Mar 20 '23

Discussion Where to practice SQL?

I have read tutorials and learned the basics of the language. Are there resources of practice problems/projects?

338 Upvotes

179 comments sorted by

View all comments

150

u/BitesizedBlubber Mar 20 '23 edited Mar 20 '23

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)

1

u/KenmoreToast Mar 05 '25

SQL Zoo is no good.

First problem, it just gives you the answer for every "challenge", You gotta quickly erase the answer given while trying not to read it if you want to test yourself.

2nd problem, missing instructions. Very first challenge I tried:

'Show the lastName, party and votes for the constituency 'S14000024' in 2017.'

Simple right? Except if you don't order by votes (descending) in your answer, it's marked wrong.

1

u/StillInfamous1209 Nov 02 '25

Thanks from Nov 1st 2025

1

u/TurbulentCountry5901 Nov 16 '25

A cool detective-themed SQL game where you solve cases using queries. Great way to learn SQL: sqlcasefiles.com , hope you give this a try !

1

u/garamgaramsamose Jan 13 '26

judging way too quickly, in the later chapters, most of the prefilled boxes don't have the actual answer