
LeetCode
金大大诶
用抽象构建架构,用实现扩展细节。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[LeetCode]Second Highest Salary-limit offset介绍
在员工工资表中返回第二高的记录,如果没有则返回null。 使用limit offset SELECT (SELECT DISTINCT Salary FROM Employee ORDER BY Salary DESC LIMIT 1 OFFSET 1) AS SecondHighestS...原创 2019-03-03 14:55:38 · 197 阅读 · 0 评论 -
LeetCode-Duplicate Emails
select Email from ( select Email, count(Email) as num from Person group by Email ) as statistic where num > 1 ; group by 和 having select Email from Person group by Email having count(Emai...原创 2019-03-03 15:39:08 · 268 阅读 · 0 评论