It’s a great start and could get you through but also depends on what you plan to do with SQL for a job. I suggest building out a database from scratch with open data sources, going from an ER diagram to database, to dashboard. Thinking about OLAP vs OLTP. Learn about 3NF, ACID, and etc. The reason is that many jobs may not require this as a necessity but your engineers will appreciate the understanding of it. The complications involved of ingesting dirty data and making it available for others to use gets lost in the background easily. I can’t think of a role that wouldn’t benefit some fundamentals of this outside of DDL/DML statements Answer from chaoscruz on reddit.com
🌐
LeetCode
leetcode.com › studyplan › top-sql-50
SQL 50 - Study Plan - LeetCode
Crack SQL Interview in 50 Qs · SQL 50 · Summary · Basic to intermediate SQL topics · 50 essential SQL questions · Best for 1 month of prep time · Award · SQL 50 · Complete the study plan to win the badge!
🌐
LeetCode
leetcode.com › explore › featured › card › sql-language
Explore - LeetCode
LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore.
🌐
LeetCode
leetcode.com › studyplan › premium-sql-50
Advanced SQL 50 - Study Plan - LeetCode
50 Advanced SQL Problems · Advanced SQL 50 · Summary · Basic to advanced SQL topics · 50 high-frequency SQL questions · Best for 1 month of prep time · Award · Advanced SQL 50 · Complete the study plan to win the badge!
🌐
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.
🌐
Medium
kawsar34.medium.com › leetcode-sql-50-part-1-8b76ed9ee193
Leetcode SQL 50 Part 1. SQL, or Structured Query Language, is… | by Shahidullah Kawsar | Medium
February 10, 2024 - I aim to equip readers with the knowledge and confidence to tackle SQL challenges, enhancing their data management proficiency and problem-solving acumen. LeetCode has launched a study plan “SQL 50”, with 50 questions to practice your SQL skills.
🌐
LeetCode
leetcode.com › problem-list › m8baczxh
Free SQL questions - LeetCode
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.
🌐
LeetCode
leetcode.com › discuss › general-discussion › 1208129 › list-of-free-leetcode-sql-questions
List of Free Leetcode SQL Questions - Discuss - LeetCode
List of Free Leetcode SQL Questions · Abhishek Singh Baghel · 260298 · May 14, 2021 · May 14, 2021 · Database · https://leetcode.com/problems/big-countries ·
Find elsewhere
🌐
GitHub
github.com › mrinal1704 › SQL-Leetcode-Challenge
GitHub - mrinal1704/SQL-Leetcode-Challenge: Contains all the 117 Leetcode questions with their solutions ranging from Easy to Hard in MySQL.
I attempted all questions in 25 days to corroborate my knowledge in SQL. The solutions are divided into three level of categories namely Easy, Medium, and Hard. Every category first contains the question and then followed by its respective solution. Link to the website is: https://leetcode.com/problemset/database/
Starred by 815 users
Forked by 520 users
Languages   TSQL
🌐
LeetCode
leetcode.com › discuss › general-discussion › 2064076 › list-of-all-free-45-sql-leetcode-questions-easy-medium-hard
✅ List of All Free 45 SQL Leetcode questions - (Easy, Medium, ...
Clone it !! list : https://leetcode.com/list/e97a9e5m Upcoming post 🔥: All SQL Leetcode questions with their most intuitive solutions. ---- T
🌐
Reddit
reddit.com › r/sql › for those wanting to practice sql on leetcode but don’t have a lc subscription, i created a python program that re-creates all the problems in db-fiddle.com
r/SQL on Reddit: For those wanting to practice SQL on LeetCode but don’t have a LC subscription, I created a Python program that re-creates all the problems in db-fiddle.com
December 24, 2018 -

I’m not sure how many people in this sub use Python, but I wanted to share this program because it allowed me to practice all 125 LeetCode (LC) database/SQL problems in an efficient way.

Background- the two problem I wanted to solve:

  1. Majority of SQL problems on LC are locked

  2. Even with access to the problem, creating the query can be challenging without being able to test and output the intermediate queries that make up the final solution.

My initial solution was manually copying and pasting the tables from LC to db-fiddle.com, but then I thought, there must be a better way- that is how this program was conceived.

What this Python program does:

Using the web automation package Selenium, it opens the LC problem selected by the user, parses the table data, and creates the table schema in db-fiddle so that you can test your queries. Additionally, it saves all the db-fiddles you've been working on in case you want to continue working on them in future sessions.

Sample outputs (for question #1369):

problem statement tab: https://leetcode.jp/problemdetail.php?id=1369

db-fiddle tab: https://www.db-fiddle.com/f/oMDnFch8BXL45r3dUVF17V/0

solutions tab: https://github.com/kamyu104/LeetCode-Solutions/blob/master/MySQL/get-the-second-most-recent-activity.sql

Demo and GitHub link:

Check it out on GitHub: https://github.com/jjjchens235/leetcode-sql-unlocked

🌐
SQLPad
sqlpad.io › leetcode-alternative-sql
Leetcode Alternative for Data Scientist SQL Interview
Leetcode has undoubtedly excelled in preparing software engineers for coding interviews, and now SQLPad brings that same focus to data science and data analytics candidates prepping for SQL coding interviews.
🌐
Liambx
liambx.com › blog › platforms to practice sql: level up your database skills
Platforms to Practice SQL: Level Up Your Database Skills - Liam ERD
December 4, 2025 - SQL Practice and Certification The platform offers hundreds of SQL practice problems and official skills certification tests, covering basic to advanced concepts.
🌐
GitHub
github.com › ieshreya › sql-50-leetcode
GitHub - ieshreya/sql-50-leetcode: Solutions for SQL 50 Study Plan on LeetCode
Solutions for SQL 50 Study Plan on LeetCode · 1757 - Recyclable and Low Fat Products · SELECT product_id FROM Products WHERE low_fats = 'Y' AND recyclable = 'Y' 584 - Find Customer Referee · SELECT name FROM Customer WHERE referee_id != 2 OR referee_id IS null ·
Starred by 80 users
Forked by 33 users
🌐
LeetCode
leetcode.com › studyplan
Study Plan - LeetCode
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.
🌐
StrataScratch
stratascratch.com › blog › how-to-use-leetcode-for-data-science-sql-interviews
How To Use LeetCode For Data Science SQL Interviews - StrataScratch
September 29, 2023 - In a data science coding interview, you’re asked to manipulate data and communicate insights from the data, so there’s often a coding portion that tests your ability to do so. You can usually use any coding language you’re comfortable with but the most popular ones are SQL, Python, and R. LeetCode’s questions are more tailored towards algorithms where you’re tasked to search through arrays and return specific values.
🌐
Kaggle
kaggle.com › questions-and-answers › 350791
Sources for Mastering SQL
Checking your browser before accessing www.kaggle.com · Click here if you are not automatically redirected after 5 seconds