This repository includes my solutions to LeetCode database problems using SQL. The goal is to enhance my skills in writing efficient queries, understanding data structures in a relational database, and preparing for SQL-based interviews.
- Basic SELECT queries
- Filtering with WHERE, IN, LIKE
- Aggregate functions (COUNT, SUM, AVG, etc.)
- GROUP BY and HAVING
- JOINs (INNER, LEFT, RIGHT)
- Subqueries
- Common Table Expressions (CTEs)
- Window Functions (ROW_NUMBER, RANK, etc.)
SQL is a foundational skill for backend developers, data analysts, and engineers. Practicing through real-world-style problems builds fluency in:
- Query writing
- Optimization
- Database design thinking
Each SQL file includes:
- Problem title and link (if applicable)
- SQL query solution
- Optional explanation as a comment
🔐 All queries follow standard SQL syntax and are tested on LeetCode’s platform.