1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-29 08:43:16 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -7,12 +7,12 @@
| user_id | int |
| follower_id | int |
+-------------+------+
(user_id, follower_id) 是这个表的主键。
(user_id, follower_id) 是这个表的主键(具有唯一值的列的组合)
该表包含一个关注关系中关注者和用户的编号,其中关注者关注用户。</pre>
<p>&nbsp;</p>
<p>写出 SQL 语句,对于每一个用户,返回该用户的关注者数量。</p>
<p>编写解决方案,对于每一个用户,返回该用户的关注者数量。</p>
<p>&nbsp;<code>user_id</code>&nbsp;的顺序返回结果表。</p>