Skip to content

Krish1712204/SQL-50-Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 SQL-50-Leetcode

This repository contains solutions for the Top 50 SQL Questions from LeetCode's SQL 50 Study Plan. It is designed to help you build and strengthen your SQL skills through real coding problems.

💡 Ideal for mastering SQL concepts such as JOIN, GROUP BY, WINDOW FUNCTIONS, SUBQUERIES, and more.


🔗 Study Plan Link

📘 LeetCode SQL 50 Study Plan


📁 Folder Structure

Each folder is named using the LeetCode problem number and title (e.g., 1135-customers-who-bought-all-products). Inside each folder, you’ll find:

  • solution.sql – Contains the SQL query solving the problem.
  • (Optional) Comments explaining logic or approach.

🧠 Topics Covered

  • Basic SELECT statements
  • JOIN (INNER, LEFT, RIGHT)
  • GROUP BY and HAVING
  • Aggregate functions: COUNT, SUM, AVG, etc.
  • Subqueries
  • UNION
  • Window functions: RANK(), DENSE_RANK(), ROW_NUMBER()
  • Common Table Expressions (CTEs)

About

Basic to Advance Leetcode SQL 50 Questions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors