r/learnSQL • u/sanjana-_ • Sep 30 '26
SQL Practice?
Where do we practice SQL? What resources ?
19
Upvotes
r/learnSQL • u/sanjana-_ • Sep 30 '26
Where do we practice SQL? What resources ?
12
u/Better-Credit6701 Sep 30 '26
Install MS-SQL developer edition, PostgreSQL, or MySQL on a laptop or desktop, download some data. The government has plenty of free data to play with then start practicing.
Plenty of people will suggest a website but there is nothing quite like physically working directly with the tools
2
u/LendMeCoffeeBeans Sep 30 '26
Datalemur is amazing. Stratascratch for additional problems.
Don’t do an online course imo. You really need to code to (1) understand how everything works, and (2) remember how everything works
6
u/SQLDevDBA Sep 30 '26
https://freesql.com is a free product from Oracle with tutorials and a full Database right in your browser. No downloads or installs. It comes with pre-loaded data and you can also load your own data if you wish.
And there’s the 100 million AI built detective games you’ll inevitably get pitched too.
2
u/Final_Profile8639 Sep 30 '26
Datalemur and leetcode is the best resource for you
2
u/ReleaseTheBlacken Sep 30 '26
Free SQL library at Inkwell Learn at inkwelltools dot com
2
u/whodiopolis Oct 01 '26 edited Oct 01 '26
I made https://SQLShed.com for people to practice sql. It runs completely in your browser so nothing to setup or download. There are a few data sets and queries built in but you can also bring your own data
2
u/datadriven_io Oct 02 '26
Make your own sql learning notebook. Search for sql code, write them in a journal/notebook, and write any important information on syntax and code organization. For window function practice, try datadriven.io. Once you're satisfied, practice on a free dataset. If you run into an issue, search for the solution online.
1
u/clivepato Sep 30 '26
Pgexercises
1
u/delinger90 Sep 30 '26
https://datadriven.io/
1
u/millerlit Sep 30 '26
Microsoft SQL Server Management Studio and adventureworks database
1
u/Puzzleheaded-Coat333 Sep 30 '26
Postgres using PSQL or PGAdmin.
1
u/Witty_Match9409 Oct 01 '26
Just run a docker db container. You can do whatever you want no restriction
1
u/uncertainschrodinger Oct 01 '26
you can also check out this course I put together: https://getbruin.com/learn/sql-ai
it is meant to teach and practice SQL using an AI agent, you can give the prompt to your AI to set things up and then practice that way - this might be more realistic than the classic SQL sandbox environments in a website which focuses more on syntax and functions, rather than a real developer environment
1
u/TechLexiconApp Oct 02 '26
TechLexicon has the SQL Query Lab for learning and practice!
techlexicon.app
I also created a standalone tool that is a real database in your browser for practice!
techlexicon.app/sql-practice
1
u/datadriven_io Oct 05 '26
They sound like they need to practice the basics first. Sql practice problems are on datadriven.io if you want something to chip away at. You don't learn sql online if you don't understand data.
1
u/Complex_Republic6678 Oct 07 '26
Hello all, thank you for pointing me in the right direction. Take care!
1
u/HopeFix Oct 12 '26
Depends on your aims. I am guessing the question is about where to train general SQL-query skills. Online tutorials with built-in playgrounds (or just pure playgrounds), where you can type queries by hand and explore results, should work fine. Be ready to deal with their limitations and specifics. If your needs is wider, it might be better to install something on your local machine and play with it. Local CLI/UI is where you type and run queries. For data preparation and/or exercises plan, I'd try to generate it with LLM and coding agents.
1
u/conor-robertson Sep 30 '26
Give QueryCase a try for a gamified fun way to learn SQL (beginner to advanced)