This repository contains my solutions to the Top 50 SQL questions on LeetCode. These problems help build a strong foundation in database querying and are commonly asked in data-related interviews.
- Basic SELECT statements
- Filtering with WHERE, IN, EXISTS
- Aggregate functions (SUM, COUNT, AVG, etc.)
- GROUP BY and HAVING clauses
- Various types of JOINs
- Subqueries and Common Table Expressions (CTEs)
- Window functions like RANK(), DENSE_RANK(), ROW_NUMBER()
Each file corresponds to one problem, named for clarity.