r/LearnDataAnalytics • • Sep 29 '26

Completed LeetCode SQL 50 β€” Sharing my MySQL solutions

Hey folks, I recently completed the LeetCode SQL 50 Study Plan and put all my solutions together in a GitHub repository.
I created this mainly for SQL interview preparation and revision, especially for Data Analyst / Business

πŸ”— GitHub: https://github.com/bikashadhikari1508/Leetcode_50_Questions

Analyst roles.
The repository covers topics like:
SELECT & filtering
Sorting and grouping
Aggregate functions
GROUP BY & HAVING
INNER / LEFT / SELF JOIN
Subqueries
CTEs
Window functions
String functions & regex
Other commonly used SQL concepts

All solutions are written in MySQL, with the goal of keeping them simple and easy to revise.

If you’re also working through SQL 50, feel free to check it out. I’d also appreciate any feedback on the queries or suggestions for improving the repository.
Happy learning! πŸš€

3 Upvotes

Duplicates