mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-29 08:43:16 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
| user_id | int |
|
||||
| follower_id | int |
|
||||
+-------------+------+
|
||||
(user_id, follower_id) 是这个表的主键。
|
||||
(user_id, follower_id) 是这个表的主键(具有唯一值的列的组合)。
|
||||
该表包含一个关注关系中关注者和用户的编号,其中关注者关注用户。</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>写出 SQL 语句,对于每一个用户,返回该用户的关注者数量。</p>
|
||||
<p>编写解决方案,对于每一个用户,返回该用户的关注者数量。</p>
|
||||
|
||||
<p>按 <code>user_id</code> 的顺序返回结果表。</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user