1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-11 18:31:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 18:53:53 +08:00
parent c9b1bf36a8
commit 9bc4722a45
349 changed files with 15897 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<p>表:<code>Tweets</code></p>
<pre>
+----------------+---------+
| Column Name | Type |
+----------------+---------+
| tweet_id | int |
| content | varchar |
+----------------+---------+
在 SQL 中tweet_id 是这个表的主键。
这个表包含某社交媒体 App 中所有的推文。</pre>
<p>&nbsp;</p>
<p>查询所有无效推文的编号ID。当推文内容中的字符数<strong>严格大于</strong> <code>15</code> 时,该推文是无效的。</p>
<p><strong>任意顺序</strong>返回结果表。</p>
<p>查询结果格式如下所示:</p>
<p>&nbsp;</p>
<p><strong>示例 1</strong></p>
<pre>
<strong>输入:</strong>
Tweets 表:
+----------+----------------------------------+
| tweet_id | content |
+----------+----------------------------------+
| 1 | Vote for Biden |
| 2 | Let us make America great again! |
+----------+----------------------------------+
<strong>输出:</strong>
+----------+
| tweet_id |
+----------+
| 2 |
+----------+
<strong>解释:</strong>
推文 1 的长度 length = 14。该推文是有效的。
推文 2 的长度 length = 32。该推文是无效的。
</pre>