SQL
彭笳鑫
Apache Committer,对数据库和网络有一定的了解,喜欢参加一些比赛
2022 云原生编程挑战赛 2 和 ECS CloudBuild 开发者大赛赛道 3 【季军】
PingCap 性能挑战赛 【亚军】
蚂蚁绿色计算第一赛道 【第二名】
其他若干比赛 Top5,Top10 等
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[Leetcode] [Database] Second Highest Salary解题
题目如下 Write a SQL query to get the second highest salary from the Employee table. Id Salary 1 100 2 200 3 300 For example, given the above Employee table, the second highest s原创 2015-10-19 14:13:00 · 391 阅读 · 0 评论 -
[Leetcode] [Database] Trips and Users解题思路
用户旅行的题目如下 The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign keys to the Users_Id at the Users table. Status is an ENUM type of (‘complete原创 2015-10-19 13:13:39 · 1598 阅读 · 0 评论 -
[Leetcode] [Database] Consecutive Numbers
题目如下: Write a SQL query to find all numbers that appear at least three times consecutively. Id Num 1 1 2 1 3 1 4 2 5 1 6 2 7 2 For example, given the above Lo原创 2015-10-19 13:44:47 · 400 阅读 · 0 评论 -
[Leetcode] [Database] Customers Who Never Order解题
题目如下 Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything. Table: Customers. Id Name原创 2015-10-19 13:56:36 · 455 阅读 · 0 评论 -
[Leetcode] [Database] Employees Earning More Than Their Managers解题笔记
题目如下 The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id. Id Name Salary ManagerId 1 Joe 70000原创 2015-10-19 13:24:08 · 455 阅读 · 0 评论 -
[Leetcode] [Database] Duplicate Emails解题思路
重复邮件 Write a SQL query to find all duplicate emails in a table named Person. Id Email 1 a@b.com 2 c@d.com 3 a@b.com For example, your query should return the following for th原创 2015-10-19 13:37:47 · 449 阅读 · 0 评论
分享