{"id":2111,"date":"2023-10-03T11:31:29","date_gmt":"2023-10-03T03:31:29","guid":{"rendered":"https:\/\/white-night.club\/?p=2111"},"modified":"2023-11-09T11:07:51","modified_gmt":"2023-11-09T03:07:51","slug":"ad23","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/10\/03\/ad23\/","title":{"rendered":"1683.\u00a0\u65e0\u6548\u7684\u63a8\u6587"},"content":{"rendered":"\n<p>\u8868\uff1a<code>Tweets<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">+----------------+---------+\n| Column Name    | Type    |\n+----------------+---------+\n| tweet_id       | int     |\n| content        | varchar |\n+----------------+---------+\n\u5728 SQL \u4e2d\uff0ctweet_id \u662f\u8fd9\u4e2a\u8868\u7684\u4e3b\u952e\u3002\n\u8fd9\u4e2a\u8868\u5305\u542b\u67d0\u793e\u4ea4\u5a92\u4f53 App \u4e2d\u6240\u6709\u7684\u63a8\u6587\u3002<\/pre>\n\n\n\n<p>\u67e5\u8be2\u6240\u6709\u65e0\u6548\u63a8\u6587\u7684\u7f16\u53f7\uff08ID\uff09\u3002\u5f53\u63a8\u6587\u5185\u5bb9\u4e2d\u7684\u5b57\u7b26\u6570<strong>\u4e25\u683c\u5927\u4e8e<\/strong>&nbsp;<code>15<\/code>&nbsp;\u65f6\uff0c\u8be5\u63a8\u6587\u662f\u65e0\u6548\u7684\u3002<\/p>\n\n\n\n<p>\u4ee5<strong>\u4efb\u610f\u987a\u5e8f<\/strong>\u8fd4\u56de\u7ed3\u679c\u8868\u3002<\/p>\n\n\n\n<p>\u67e5\u8be2\u7ed3\u679c\u683c\u5f0f\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<p><strong>\u793a\u4f8b 1\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>\u8f93\u5165\uff1a<\/strong>\nTweets \u8868\uff1a\n+----------+----------------------------------+\n| tweet_id | content                          |\n+----------+----------------------------------+\n| 1        | Vote for Biden                   |\n| 2        | Let us make America great again! |\n+----------+----------------------------------+\n\n<strong>\u8f93\u51fa\uff1a<\/strong>\n+----------+\n| tweet_id |\n+----------+\n| 2        |\n+----------+\n<strong>\u89e3\u91ca\uff1a<\/strong>\n\u63a8\u6587 1 \u7684\u957f\u5ea6 length = 14\u3002\u8be5\u63a8\u6587\u662f\u6709\u6548\u7684\u3002\n\u63a8\u6587 2 \u7684\u957f\u5ea6 length = 32\u3002\u8be5\u63a8\u6587\u662f\u65e0\u6548\u7684\u3002<\/pre>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote has-luminous-vivid-amber-color has-text-color\">\n<p>\u89e3\u9898\u601d\u8def<\/p>\n<cite><em>\u6478\u9c7c\u9898<\/em><\/cite><\/blockquote>\n\n\n\n<p>\u56fd\u5e86\u5047\u671f\u7684\u7b2c\u56db\u5929\uff0c\u7ee7\u7eed\u6478\u9c7c\u3002<\/p>\n\n\n\n<p>\u76f4\u63a5\u7528length\u8fd4\u56de\u5b57\u7b26\u4e32\u957f\u5ea6\uff0c\u5b8c\u4e8b\u3002\u4e0d\u8fc7\u4e0d\u77e5\u9053\u4e3a\u5565\u83dc\u9e1f\u6559\u7a0b\u4e0a\u7528\u7684\u662fLEN\uff0c\u4f46\u5728mysql\u4e2d\u53c8\u6ca1\u6709LEN\u8fd9\u4e2a\u4e1c\u897f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Write your MySQL query statement below\r\nSELECT tweet_id FROM Tweets\r\nWHERE length(content)>15\r<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Leetcode\u9898\u76ee\uff1aSQL\u627e\u957f\u5ea6<\/p>\n","protected":false},"author":1,"featured_media":2827,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[42,25],"tags":[38],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/2111"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=2111"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/2111\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/2827"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=2111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=2111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=2111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}