We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5821f2c commit 20f87b4Copy full SHA for 20f87b4
leetcode/SQL/No176.sql
@@ -0,0 +1,2 @@
1
+select max(e.Salary) as SecondHighestSalary from Employee e
2
+where e.Salary < (select max(Salary) from Employee);
leetcode/SQL/No181.sql
@@ -0,0 +1,4 @@
+select e.Name as Employee
+from Employee e
3
+join Employee m on e.ManagerId = m.id
4
+where e.Salary > m.Salary;
leetcode/SQL/No182.sql
@@ -0,0 +1 @@
+select p.Email as Email from Person p group by p.Email having count(p.Email) > 1;
leetcode/SQL/No183.sql
+select c.Name as Customers from Customers c left join Orders o on c.id = o.CustomerId where o.CustomerId is null;
0 commit comments