Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

88 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SQL

πŸ“š SQL Practice Sheets

LeetCode SQL 50 Hackerrank SQL Brush Up Your Logic

πŸ“Œ SQL Course Progress

Platform Course Solution File
LeetCode top-sql-50
Hackerrank SQL

πŸ“Œ SQL Solutions

# Question Title Difficulty Soln Status
1 Recyclable and Low Fat Products 🟒 🏷️ βœ…
2 Find Customer Referee 🟒 🏷️ βœ…
3 Big Countries 🟒 🏷️ βœ…
4 Article Views I 🟒 🏷️ βœ…
5 Invalid Tweets 🟒 🏷️ βœ…

πŸ“Œ Basic Joins

# Question Title Difficulty Soln Status
1 Replace Employee ID With The Unique Identifier 🟒 🏷️ βœ…
2 Product Sales Analysis I 🟒 🏷️ βœ…
3 Customer Who Visited but Did Not Make Any Transactions 🟒 🏷️ βœ…
4 Rising Temperature 🟒 🏷️ βœ…
5 Average Time of Process per Machine 🟒 🏷️ βœ…
6 Employee Bonus 🟒 🏷️ βœ…
7 Students and Examinations 🟒 🏷️ βœ…
8 Managers with at Least 5 Direct Reports 🟑 🏷️
9 Confirmation Rate 🟑 🏷️

πŸ“ŒBasic Aggregate Functions

# Question Title Difficulty Soln Status
1 Not Boring Movies 🟒 🏷️
2 Average Selling Price 🟒 🏷️
3 Project Employees I 🟒 🏷️
4 Percentage of Users Attended a Contest 🟒 🏷️
5 Queries Quality and Percentage 🟒 🏷️
6 Monthly Transactions I 🟑 🏷️
7 Immediate Food Delivery II 🟑 🏷️
8 Game Play Analysis IV 🟑 🏷️

πŸ“Œ Sorting and Grouping SQL Solutions

# Question Title Difficulty Soln Status
1 Number of Unique Subjects Taught by Each Teacher 🟒 🏷️ -
2 User Activity for the Past 30 Days I 🟒 🏷️ -
3 Product Sales Analysis III 🟑 🏷️ -
4 Classes More Than 5 Students 🟒 🏷️ -
5 Find Followers Count 🟒 🏷️ -
6 Biggest Single Number 🟒 🏷️ -
7 Customers Who Bought All Products 🟑 🏷️ -

πŸ“Œ Advanced Select and Joins SQL Solutions

# Question Title Difficulty Soln Status
1 The Number of Employees Which Report to Each Employee 🟒 🏷️ -
2 Primary Department for Each Employee 🟒 🏷️ -
3 Triangle Judgement 🟒 🏷️ -
4 Consecutive Numbers 🟑 🏷️ -
5 Product Price at a Given Date 🟑 🏷️ -
6 Last Person to Fit in the Bus 🟑 🏷️ -
7 Count Salary Categories 🟑 🏷️ -

πŸ“Œ Subqueries

# Question Title Difficulty Soln Status
1 Employees Whose Manager Left the Company 🟒 🏷️ -
2 Exchange Seats 🟑 🏷️ -
3 Movie Rating 🟑 🏷️ -
4 Restaurant Growth 🟑 🏷️ -
5 Friend Requests II: Who Has the Most Friends 🟑 🏷️ -
6 Investments in 2016 🟑 🏷️ -
7 Department Top Three Salaries πŸ”΄ 🏷️ -

πŸ“Œ Advanced String Functions / Regex / Clause

# Question Title Difficulty Soln Status
1 Fix Names in a Table 🏷️ -
1 Patients With a Condition 🏷️ -
1 Delete Duplicate Emails 🏷️ -
1 Second Highest Salary 🏷️ -
1 Group Sold Products By The Date 🏷️ -
1 List the Products Ordered in a Period 🏷️ -
1 Find Users With Valid E-Mails 🏷️ -

About

This repository contains a complete SQL course, covering everything from basics to advanced topics like joins, indexing, stored procedures, and performance optimization. Each topic includes well-structured SQL scripts with practical examples for hands-on learning. πŸš€ https://riyaachauhan.github.io/SQL/

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages