Solutions for all free SQL challenges on Leetcode executed on MySQL and MS SQL Server.
| Number | Challenges | Solutions |
|---|---|---|
| 1 | 177. Nth Highest Salary | Link |
| 2 | 178. Rank Scores | Link |
| 3 | 180. Consecutive Numbers | Link |
| 4 | 184. Department Highest Salary | Link |
| 5 | 608. Tree Node | Link |
| 6 | 626. Exchange Seats | Link |
| 7 | 1158. Market Analysis I | Link |
| 8 | 1393. Capital Gain/Loss | Link |
| Number | Challenges | Solutions |
|---|---|---|
| 1 | 185. Department Top Three Salaries | Link |
| 2 | 262. Trips and Users | Link |
| 3 | 601. Human Traffic of Stadium | Link |