ziaroque/leetcode-sql-50

Repository files navigation

The SQL 50 on LeetCode touches on basic to intermediate SQL topics that includes easy, medium, and hard level questions on topics below.

This repository contains my solutions for the Top SQL 50 problems using MS SQL Server syntax.

#ProblemLevelStatus
1757Recyclable and Low Fat ProductsEasySolved
584Find Customer RefereeEasySolved
595Big CountriesEasySolved
1148Article ViewsEasySolved
1683Invalid TweetsEasySolved
#ProblemLevelStatus
1378Replace Employee ID With The Unique IdentifierEasySolved
1068Product Sales Analysis IEasySolved
1581Customer Who Visited but Did Not Make Any TransactionsEasySolved
197Rising TemperatureEasySolved
1661Average Time of Process per MachineEasySolved
577Employee BonusEasySolved
1280Students and ExaminationsEasySolved
570Managers with at Least 5 Direct ReportsMediumSolved
1934Confirmation RateMediumSolved
#ProblemLevelStatus
620Not Boring MoviesEasySolved
1251Average Selling PriceEasySolved
1075Project Employees IEasySolved
1633Percentage of Users Attended a ContestEasySolved
1211Queries Quality and PercentageEasySolved
1193Monthly Transactions IMediumSolved
1174Immediate Food Delivery IIMediumSolved
550Game Play Analysis IVMediumSolved
#ProblemLevelStatus
2356Number of Unique Subjects Taught by Each TeacherEasySolved
1141User Activity for the Past 30 Days IEasySolved
1070Product Sales Analysis IIIMediumSolved
596Classes More Than 5 StudentsEasySolved
1729Find Followers CountEasySolved
619Biggest Single NumberEasySolved
1045Customers Who Bought All ProductsMediumSolved
#ProblemLevelStatus
1731The Number of Employees Which Report to Each EmployeeEasySolved
1789Primary Department for Each EmployeeEasySolved
610Triangle JudgementEasySolved
180Consecutive NumbersMediumSolved
1164Product Price at a Given DateMediumSolved
1204Last Person to Fit in the BusMedium-
1907Count Salary CategoriesMedium-
#ProblemLevelStatus
1978Employees Whose Manager Left the CompanyEasySolved
626Exchange SeatsMedium-
1341Movie RatingMedium-
1321Restaurant GrowthMediumSolved
602Friend Requests II: Who Has the Most FriendsMedium-
585Investments in 2016Medium-
185Department Top Three SalariesHardSolved
#ProblemLevelStatus
1667Fix Names in a TableEasy-
1527Patients with a ConditionEasy-
196Delete Duplicate EmailsEasySolved
176Second Highest SalaryMediumSolved
1484Group Sold Products By The DateEasy-
1327List the Products Ordered in a PeriodEasy-
1517Find Users With Valid E-mailsEasySolved

About

My LeetCode SQL 50 solutions using MS SQL Server syntax

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages