├── .gitignore ├── Advanced Select and Joins ├── 01- The Number of Employees Which Report to Each Employee │ └── README.md ├── 02- Primary Department for Each Employee │ └── README.md ├── 03- Triangle Judgement │ └── README.md ├── 04- Consecutive Numbers │ └── README.md ├── 05- Product Price at a Given Date │ └── README.md ├── 06- Last Person to Fit in the Bus │ └── README.md └── 07- Count Salary Categories │ └── README.md ├── Advanced String Functions, Regex, Clause ├── 01 Fix Names in a Table │ └── README.md ├── 02- Patients With a Condition │ └── README.md ├── 03 Delete Duplicate Emails │ └── README.md ├── 04- Second Highest Salary │ └── README.md ├── 05 Group Sold Products By The Date │ └── README.md ├── 06- List the Products Ordered in a Period │ └── README.md └── 07 Find Users With Valid E-Mails │ └── README.md ├── Basic Aggregate Functions ├── 01- Not Boring Movies │ └── README.md ├── 02- Average Selling Price │ └── README.md ├── 03- Project Employees I │ └── README.md ├── 04- Percentage of Users Attended a Contest │ └── README.md ├── 05- Queries Quality and Percentage │ └── README.md ├── 06 -Monthly Transactions I │ └── README.md ├── 07- Immediate Food Delivery II │ └── README.md └── 08 -Game Play Analysis IV │ └── README.md ├── Basic Joins ├── 01- Replace Employee ID With The Unique Identifier │ └── README.md ├── 02- Product Sales Analysis I │ └── README.md ├── 03- Customer Who Visited but Did Not Make Any │ └── README.md ├── 04- Rising Temperature │ └── README.md ├── 05- Average Time of Process per Machine │ └── README.md ├── 06- Employee Bonus │ └── README.md ├── 07- Students and Examinations │ └── README.md ├── 08- Managers with at Least 5 Direct Reports │ └── README.md └── 09- Confirmation Rate │ └── README.md ├── README.md ├── Select ├── 01- Recyclable and Low Fat Products │ └── README.md ├── 02-Find Customer Referee │ └── README.md ├── 03 -Big Countries │ └── README.md ├── 04-Article Views I │ └── README.md └── 05- Invalid Tweets │ └── README.md ├── Sorting and Grouping ├── 01- Number of Unique Subjects Taught by Each Teacher │ └── README.md ├── 02- User Activity for the Past 30 Days I │ └── README.md ├── 03- Product Sales Analysis III │ └── README.md ├── 04- Classes More Than 5 Students │ └── README.md ├── 05- Find Followers Count │ └── README.md ├── 06- Biggest Single Number │ └── README.md └── 07- Customers Who Bought All Products │ └── README.md └── Subqueries ├── 01- Employees Whose Manager Left the Company └── README.md ├── 02- Exchange Seats └── README.md ├── 03- Movie Rating └── README.md ├── 04- Restaurant Growth └── README.md ├── 05- Friend Requests II: Who Has the Most Friends └── README.md ├── 06- Investments in 2016 └── README.md └── 07- Department Top Three Salaries └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | Hints.txt 2 | script.py -------------------------------------------------------------------------------- /Advanced Select and Joins/01- The Number of Employees Which Report to Each Employee/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/01- The Number of Employees Which Report to Each Employee/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/02- Primary Department for Each Employee/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/02- Primary Department for Each Employee/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/03- Triangle Judgement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/03- Triangle Judgement/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/04- Consecutive Numbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/04- Consecutive Numbers/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/05- Product Price at a Given Date/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/05- Product Price at a Given Date/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/06- Last Person to Fit in the Bus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/06- Last Person to Fit in the Bus/README.md -------------------------------------------------------------------------------- /Advanced Select and Joins/07- Count Salary Categories/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced Select and Joins/07- Count Salary Categories/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/01 Fix Names in a Table/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/01 Fix Names in a Table/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/02- Patients With a Condition/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/02- Patients With a Condition/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/03 Delete Duplicate Emails/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/03 Delete Duplicate Emails/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/04- Second Highest Salary/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/04- Second Highest Salary/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/05 Group Sold Products By The Date/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/05 Group Sold Products By The Date/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/06- List the Products Ordered in a Period/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/06- List the Products Ordered in a Period/README.md -------------------------------------------------------------------------------- /Advanced String Functions, Regex, Clause/07 Find Users With Valid E-Mails/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Advanced String Functions, Regex, Clause/07 Find Users With Valid E-Mails/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/01- Not Boring Movies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/01- Not Boring Movies/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/02- Average Selling Price/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/02- Average Selling Price/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/03- Project Employees I/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/03- Project Employees I/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/04- Percentage of Users Attended a Contest/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/04- Percentage of Users Attended a Contest/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/05- Queries Quality and Percentage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/05- Queries Quality and Percentage/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/06 -Monthly Transactions I/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/06 -Monthly Transactions I/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/07- Immediate Food Delivery II/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/07- Immediate Food Delivery II/README.md -------------------------------------------------------------------------------- /Basic Aggregate Functions/08 -Game Play Analysis IV/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Aggregate Functions/08 -Game Play Analysis IV/README.md -------------------------------------------------------------------------------- /Basic Joins/01- Replace Employee ID With The Unique Identifier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/01- Replace Employee ID With The Unique Identifier/README.md -------------------------------------------------------------------------------- /Basic Joins/02- Product Sales Analysis I/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/02- Product Sales Analysis I/README.md -------------------------------------------------------------------------------- /Basic Joins/03- Customer Who Visited but Did Not Make Any/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/03- Customer Who Visited but Did Not Make Any/README.md -------------------------------------------------------------------------------- /Basic Joins/04- Rising Temperature/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/04- Rising Temperature/README.md -------------------------------------------------------------------------------- /Basic Joins/05- Average Time of Process per Machine/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/05- Average Time of Process per Machine/README.md -------------------------------------------------------------------------------- /Basic Joins/06- Employee Bonus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/06- Employee Bonus/README.md -------------------------------------------------------------------------------- /Basic Joins/07- Students and Examinations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/07- Students and Examinations/README.md -------------------------------------------------------------------------------- /Basic Joins/08- Managers with at Least 5 Direct Reports/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/08- Managers with at Least 5 Direct Reports/README.md -------------------------------------------------------------------------------- /Basic Joins/09- Confirmation Rate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Basic Joins/09- Confirmation Rate/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/README.md -------------------------------------------------------------------------------- /Select/01- Recyclable and Low Fat Products/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Select/01- Recyclable and Low Fat Products/README.md -------------------------------------------------------------------------------- /Select/02-Find Customer Referee/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Select/02-Find Customer Referee/README.md -------------------------------------------------------------------------------- /Select/03 -Big Countries/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Select/03 -Big Countries/README.md -------------------------------------------------------------------------------- /Select/04-Article Views I/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Select/04-Article Views I/README.md -------------------------------------------------------------------------------- /Select/05- Invalid Tweets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Select/05- Invalid Tweets/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/01- Number of Unique Subjects Taught by Each Teacher/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/01- Number of Unique Subjects Taught by Each Teacher/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/02- User Activity for the Past 30 Days I/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/02- User Activity for the Past 30 Days I/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/03- Product Sales Analysis III/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/03- Product Sales Analysis III/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/04- Classes More Than 5 Students/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/04- Classes More Than 5 Students/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/05- Find Followers Count/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/05- Find Followers Count/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/06- Biggest Single Number/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/06- Biggest Single Number/README.md -------------------------------------------------------------------------------- /Sorting and Grouping/07- Customers Who Bought All Products/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Sorting and Grouping/07- Customers Who Bought All Products/README.md -------------------------------------------------------------------------------- /Subqueries/01- Employees Whose Manager Left the Company/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/01- Employees Whose Manager Left the Company/README.md -------------------------------------------------------------------------------- /Subqueries/02- Exchange Seats/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/02- Exchange Seats/README.md -------------------------------------------------------------------------------- /Subqueries/03- Movie Rating/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/03- Movie Rating/README.md -------------------------------------------------------------------------------- /Subqueries/04- Restaurant Growth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/04- Restaurant Growth/README.md -------------------------------------------------------------------------------- /Subqueries/05- Friend Requests II: Who Has the Most Friends/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/05- Friend Requests II: Who Has the Most Friends/README.md -------------------------------------------------------------------------------- /Subqueries/06- Investments in 2016/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/06- Investments in 2016/README.md -------------------------------------------------------------------------------- /Subqueries/07- Department Top Three Salaries/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamzaHassanain/Leetcode_SQL_50_Study_Plan/HEAD/Subqueries/07- Department Top Three Salaries/README.md --------------------------------------------------------------------------------