Do you _really_ want to join a company that judges folks based on "got you" style SQL questions? Honestly, that would tell me they don't know how to properly value individuals. Answer from mindvault on reddit.com
🌐
Reddit
reddit.com › r/dataengineering › anyone know of a more advanced version of leetcode sql 50 for prep?
r/dataengineering on Reddit: Anyone know of a more advanced version of leetcode sql 50 for prep?
March 6, 2025 -

Hi all,

Wondering if anyone knows of something like leetcode SQL 50 but for more advanced coders that they can share? I have already completed it multiple times and trying to find a source that has very difficult sql questions to prep as I often get tricky ‘got you’ type of sql questions during code screens that are also timed so I need to practice. Please share if you have any ideas thank you.

🌐
Reddit
reddit.com › r/sql › sql practice for interview
r/SQL on Reddit: SQL Practice for interview
March 16, 2024 -

Hello guys, I recently completed the leetcode 50 Sql problems and earned a badge but to be honest for the most questions I watched the solutions and completed that thing. So I am not satisfied with myself so I want to solve more like that can you guys give some website or challenges like leetcode to practice for interviews and it will be useful for everyone who seeing this post

And yeah the leetcode 50 Sql problems link is here please check it out: https://leetcode.com/studyplan/top-sql-50/

Suggest me something like this.

Top answer
1 of 5
10
https://advancedsqlpuzzles.com You can try the above. There is a GitHub with a pdf of puzzles.
2 of 5
10
Use all the other interview sites Data Lemur. Pretty great, the SQL study guide Nick wrote is fantastic. The site has solid UI not cluttered or obtrusive. The best way to learn is to get to a solution and then compare your solution to the "official" solution of the problem AND look at the solution discussion section. https://datalemur.com/blog/sql-interview-guide Code Wars. Similar to the above but more user submitted questions and definitely helpful to practice targeted concepts. You can see the community voted solutions and how yours compares with great community tags. https://www.codewars.com/kata/search/sql?q=&tags=SQL&beta=false&order_by=sort_date%20desc StrataScratch. Often argued that THIS site is the LeetCode for the data community. Like LeetCode but data focused, has take homes, has great UI. Solid site, definitely worth a subscription but there's free problems too no money necessary. https://platform.stratascratch.com/coding?code_type=1&page_size=100 Interview Query. Like stratascratch, Jay is a Youtuber and provides a lot of material and help. I don't know which one is better or worse but you can check out both and their materials and pick. SQLPad. Not the IDE, yet another interview site. Analyst Builder, from Alex the Analyst. https://www.analystbuilder.com/ https://www.alextheanalyst.com/interview-prep . Also has free and paid options of questions and courses. Similar interface I think to neetcode's site. Alex is definitely more Data Analyst focus but there's a lot of cross-pollination. Data Lemur, Interview Query and SQLPad are from people who are active in the data community, I think all Ex-FAANG Data Scientists. They target getting you ready for the FAANG interviews. Stratascratch is really LeetCode for Data, more generalized than the others. I think HackerRank and LC are again more for SWEs than DS/DA/DE roles not that there's any distinction, it's just that you'll have more data focused questions in the data focused sites. If that's what you're looking for however. And these are actual interview questions, not so much SQL questions asked by a general SQL quiz. Nick has a great writeup on the distinction of that. There's nothing wrong with that for general knowledge, infact you'll be expected to know that material like Join Types and the theory etc. but you'll need to know MORE than that. Interview Questions are phrased in different ways, they won't just say "join this table to this table" or "do you know what a LEFT vs FULL is?" They expect that, they'll give you a toy business scenario and expect you to use the syntax you know to solve it.
🌐
Reddit
reddit.com › r/sql › leetcode sql 50 daily challenge starting tuesday, nov 11 2025
r/SQL on Reddit: LeetCode SQL 50 Daily Challenge Starting Tuesday, Nov 11 2025
November 10, 2025 - Hi all, a small group of us is aiming to complete the LeetCode SQL 50 Study Plan by December 30th. If you would like to join this challenge, feel…
Find elsewhere
🌐
Reddit
reddit.com › r/leetcode › how can i finish the sql50
r/leetcode on Reddit: How can i finish the sql50
March 18, 2024 -

I want to finish the sql50 on leetcode but i don't have all the knowledge in sql and problem solving using sql so i wanted a course or a playlist or anything to learn all the required syntax to finish the sql50 and if thier is any other problem solving videos for sql like training or such i would appreciate it so much thanks in advance.

🌐
Reddit
reddit.com › r/sql › sql leetcode
r/SQL on Reddit: SQL Leetcode
June 22, 2023 -

Hey everyone, so i have been solving Leetcode SQL 50, frankly speaking struggling in the medium difficulty questions sometimes even on Easy ones. Can you suggest any YouTube playlist or resource i can go through. Any other suggestions are also welcomed!

🌐
Reddit
reddit.com › r/sql › is purchasing leetcode premium for sql worth it?
r/SQL on Reddit: Is purchasing leetcode premium for SQL worth it?
September 30, 2024 -

Hi i wanted to ask should i purchase leetcode premium for SQL questions practice? i have already solved all the free questions and now i want to practice more but i am unable to find better quality free questions.

i am already at intermediate to advance level SQL i just need to practice for interviews.

If you guys have suggestions for any other platform for practice please let me know.

PS:- Thanks for the nice advice and support here are the best options i found going through the comments.

DataLemur

https://bilbottom.github.io/sql-learning-materials/challenging-sql-problems/challenging-sql-problems/

stratascratch

🌐
Reddit
reddit.com › r/sql › getting stuck at lc sql problems
r/SQL on Reddit: Getting stuck at LC SQL problems
March 15, 2023 -

I was trying to solve LeetCode SQL 50 problems and I'm almost always getting stuck at Medium level problems. Like I get the solution but not all Test cases pass. And I feel guilty and demotivated, if I see the solution as If I can never learn SQL. So I keep banging my head and still stuck. What's the way out??? I did search on stackoverflow to find something related to the problem and keep referring syntax. But I think I lack Fundamental understanding of SQL and I'm not able to comprehend what's going on with those tables actually. What can I do to improve this? Some playist some course some real good resource for problem solving ??

🌐
GitHub
github.com › ieshreya › sql-50-leetcode
GitHub - ieshreya/sql-50-leetcode: Solutions for SQL 50 Study Plan on LeetCode · GitHub
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 ·
Author   ieshreya
🌐
Medium
medium.com › @hariniseetharaman24 › sql-50-by-leetcode-b2e9dbf5d387
SQL 50 By Leetcode. Solving SQL questions from Leetcode. | by Harinibala S | Medium
January 21, 2025 - However, if you do not include student_name in the GROUP BY, you may not be able to include it in the final output without causing an error. SQL requires that all selected columns that are not part of an aggregate function (like COUNT) must be included in the GROUP BY clause.
🌐
Reddit
reddit.com › r/leetcode › advanced sql 50
r/leetcode on Reddit: Advanced SQL 50
June 24, 2023 - Discuss interview prep strategies and leetcode questions · Members • · RevolutionaryRoyal39 · 中文 (繁體) Hi guys ! Can anyone with premium subscription make a screenshot of Advanced SQL 50 questions? Thanks in advance ! Share · Share · Be the first to comment ·
🌐
Medium
medium.com › @lutfiandri › solving-leetcode-sql-50-question-1-3-18b980a70747
Solving LeetCode SQL-50: Question 1–3 | by Lutfi Andriyanto | Medium
June 13, 2025 - NULL in SQL is not treated as a value, but rather as a marker for an “unknown value”. Because of this, a direct comparison with NULL using operators like =, !=, >, or < will never evaluate to TRUE.
🌐
Analyst Launch
analystlaunch.com › p › live-sql-coding-interview-leetcode-sql50
Live SQL coding Interview
April 14, 2025 - This reddit thread is about the SQL50 questions. A lot of people complaining but ultimately it proves my point. Just practice the questions, and you’ll be fine. Once you get the hang of the question style, concentrate on execution speed.. ...
🌐
Reddit
reddit.com › r/sql › need help: how to improve sql problem solving?
r/SQL on Reddit: Need help: How to improve SQL problem solving?
June 13, 2024 -

Hey, everyone. I have recently started learning SQL. I now understand basic select, joins, where, aggregate functions, etc. Just the basics.

And I find it really difficult to solve any problem on coding platforms. For example: I tried SQL 50 from leetcode and I got stuck on almost every question.

I really have a hard time formulating queries. I don't understand the flow. Specially I have hard time in creating group by, or any type of aggregate.

What would your suggestions be?

How to improve problem solving and logical thinking for SQL. Is there a flow I am missing? How you improved your SQL? How you practiced?

Thank you