mysql
文章平均质量分 94
ClaraR
这个作者很懒,什么都没留下…
展开
-
Leetcode|MySQL|数据库刷题记录(1045~1098)
1045. 买下所有产品的客户https://leetcode-cn.com/problems/customers-who-bought-all-products/Customer表:+-------------+---------+| Column Name | Type |+-------------+---------+| customer_id | int || product_key | int |+-------------+--------...原创 2021-03-03 20:31:21 · 257 阅读 · 0 评论 -
Leetcode|MySQL|数据库刷题记录(601~627)
601. 体育馆的人流量https://leetcode-cn.com/problems/human-traffic-of-stadium/表:Stadium+---------------+---------+| Column Name | Type |+---------------+---------+| id | int || visit_date | date || people | int |...原创 2021-02-18 21:27:43 · 555 阅读 · 0 评论 -
Leetcode|MySQL|数据库刷题记录(175~597)
178.分数排名https://leetcode-cn.com/problems/rank-scores/编写一个 SQL 查询来实现分数排名。如果两个分数相同,则两个分数排名(Rank)相同。请注意,平分后的下一个名次应该是下一个连续的整数值。换句话说,名次之间不应该有“间隔”。+----+-------+| Id | Score |+----+-------+| 1 | 3.50 || 2 | 3.65 || 3 | 4.00 || 4 | 3.85 ||...原创 2021-02-17 10:36:26 · 654 阅读 · 2 评论