🧩 LeetCode SQL 50 — My Solutions
This repository contains my solutions to the LeetCode SQL 50 problem set. It’s part of my journey to strengthen my SQL skills and deepen my understanding of data querying, joins, aggregation, and analytics.
📘 About
The LeetCode SQL 50 is a curated list of 50 SQL problems covering everything from basic queries to advanced analytical functions. I use this repository to:
-
Track my progress
-
Store my SQL solutions
-
Revisit and optimize my code
-
Share learning insights with others
🧠 Concepts Covered
-
Basic SELECT statements
-
Filtering, sorting, and grouping
-
Aggregate functions (COUNT, SUM, AVG, etc.)
-
Joins (INNER, LEFT, RIGHT)
-
Subqueries and CTEs
-
Window functions (RANK, DENSE_RANK, ROW_NUMBER)
-
Data aggregation and reporting
🌱 Learning Goals
-
Strengthen SQL query writing
-
Improve logical thinking with data
-
Build a solid foundation for data analysis, engineering, and BI tasks
-
Prepare for SQL interview questions
🤝 Contributions
This repo is mainly for my personal tracking, but suggestions and discussions are always welcome! Feel free to open an issue or share alternative query approaches. 📜 License
This repository is open under the MIT License. You’re free to use these solutions for learning and educational purposes.
⭐ If you found this helpful or are also doing the LeetCode SQL 50, consider starring the repo!