mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-11 18:31:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,15 +7,16 @@
|
||||
| id | int |
|
||||
| num | varchar |
|
||||
+-------------+---------+
|
||||
id 是这个表的主键。</pre>
|
||||
在 SQL 中,id 是该表的主键。
|
||||
id 是一个自增列。</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>编写一个 SQL 查询,查找所有至少连续出现三次的数字。</p>
|
||||
<p>找出所有至少连续出现三次的数字。</p>
|
||||
|
||||
<p>返回的结果表中的数据可以按 <strong>任意顺序</strong> 排列。</p>
|
||||
|
||||
<p>查询结果格式如下面的例子所示:</p>
|
||||
<p>结果格式如下面的例子所示:</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
@@ -25,7 +26,7 @@ id 是这个表的主键。</pre>
|
||||
<strong>输入:</strong>
|
||||
Logs 表:
|
||||
+----+-----+
|
||||
| Id | Num |
|
||||
| id | num |
|
||||
+----+-----+
|
||||
| 1 | 1 |
|
||||
| 2 | 1 |
|
||||
|
Reference in New Issue
Block a user