My favorite SQL practice website (sql-practice.com)
I think I just found my new favorite SQL practice website.
The website is called sql-practice.com and it is completely free.
This all-in-one website offers SQL training, as well as SQL practice questions.
SQL Learning
SQL-practice.com has a section called "Learning resources" that includes tutorials for basic SQL queries, filtering, functions (Aggregate, Window, String, etc.), and table manipulation. The tutorials are pretty basic, but work great as a refresher. But if you're just starting out, I still recommend starting with an interactive course like Udacity or SoloLearn.
SQL Practice
SQL-practice.com is also a great place to practice and test your SQL skills.
It lets you write and run SQL code against two different sample databases.
One database has data related to hospital patients and has four tables, and the other one has sample sales data for a fictitious company called Northwind Traders and has eleven tables.
You're able to see the schemas for the databases, as well as the data types and column names for all the tables.
The database schema for the Northwind traders practice database |
You can write simple select queries to pull data from a single table, test your JOIN skills to combine data from multiple tables into one result, or filter, sort, and aggregate data as you see fit.
Now, I still recommend doing the SQL interview practice questions from DataLemur, LeetCode, and HackerRank as those are closer to what you'll see in a real SQL interview but I can't not tell you about this website as it makes practicing so much more accessible.
So give this website a try and become a SQL expert!
Reach out on TikTok if you have any questions, and stay tuned for more data content!