Skip to content

Commit 66cb82b

Browse files
Added solutions
1 parent 106263f commit 66cb82b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

181.sql

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Runtime: 293 ms, faster than 71.46% of MySQL online submissions for Employees Earning More Than Their Managers.
2+
# Difficulty: Easy
3+
4+
select employee.Name as Employee
5+
from Employee as employee, Employee as manager
6+
where employee.ManagerId = manager.Id and employee.Salary > manager.Salary;

183.sql

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Runtime: 237 ms, faster than 70.62% of MySQL online submissions for Customers Who Never Order.
2+
# Difficulty: Easy
3+
4+
select Name as Customers from Customers
5+
where Id not in (select CustomerId from Orders)

0 commit comments

Comments
 (0)