

Leetcode 185. Department Top 3 Salaries
Description The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id. The...


Leetcode 184. Department Highest Salary
Description The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id. The...


Leetcode 180. Consecutive Numbers
Description Write a SQL query to find all numbers that appear at least three times consecutively. [Read Full Description Here] Solution...


Leetcode 178. Rank Scores
Description Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a...


Leetcode 177Nth Highest Salary - Medium
Description Write a SQL query to get the nth highest salary from the Employee table. For example, given the above Employee table, the nth...


Leetcode SQL - 262. Trips and Users
Database Description: The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign...