{"id":172393,"date":"2020-10-26T01:20:23","date_gmt":"2020-10-25T17:20:23","guid":{"rendered":"http:\/\/4563.org\/?p=172393"},"modified":"2020-10-26T01:20:23","modified_gmt":"2020-10-25T17:20:23","slug":"%e6%b1%82%e5%8a%a9-%e8%bf%99%e4%b8%aa-sql-%e6%9f%a5%e8%af%a2%e5%a6%82%e4%bd%95%e5%86%99-%e8%b0%a2%e8%b0%a2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=172393","title":{"rendered":"\u6c42\u52a9: \u8fd9\u4e2a SQL \u67e5\u8be2\u5982\u4f55\u5199? \u8c22\u8c22"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u52a9: \u8fd9\u4e2a SQL \u67e5\u8be2\u5982\u4f55\u5199? \u8c22\u8c22               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sprinter <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u67e5\u8be2\u8f93\u5165\u8868 A(\u5355\u5217\u5355\u8bcd\u4e32):<\/p>\n<p>id String<\/p>\n<p>1 As<\/p>\n<p>2 soon<\/p>\n<p>3 as<\/p>\n<p>4 he<\/p>\n<p>5 see<\/p>\n<p>6 teacher<\/p>\n<p>7 ,<\/p>\n<p>8 he<\/p>\n<p>9 say<\/p>\n<p>10 &#8220;<\/p>\n<p>11 good<\/p>\n<p>12 morning<\/p>\n<p>13 &#8220;<\/p>\n<p>14 !<\/p>\n<p>\u67e5\u8be2\u8f93\u5165\u8868 B(\u8bcd\u7ec4\u5b57\u5178)<\/p>\n<p>String<\/p>\n<p>as soon as<\/p>\n<p>good morning<\/p>\n<p>as soon as<\/p>\n<p>\u67e5\u8be2\u8f93\u51fa\u8868 C(\u627e\u51fa\u54ea\u4e9b\u884c\u6709\u4ec0\u4e48\u8bcd\u7ec4)<\/p>\n<p>id String<\/p>\n<p>1 as soon as<\/p>\n<p>2 as soon as<\/p>\n<p>3 as soon as<\/p>\n<p>11 good morning<\/p>\n<p>12 good morning<\/p>\n<p>\u8bf7\u6559\u5404\u4f4d,<\/p>\n<p>\u8bf7\u53c2\u9605\u4e0a\u8ff0 2 \u4e2a\u8868\u683c: \u6211\u9700\u8981\u5728\u5355\u5217\u5355\u8bcd\u4e32\u4e2d\u627e\u51fa\u8bcd\u7ec4(\u8bcd\u7ec4\u957f\u5ea6\u4e0d\u4e00, \u4e00\u822c\u4e3a 2~10 \u4e2a\u5355\u8bcd). SQL \u67e5\u8be2\u57fa\u4e8e A,B \u8868, \u67e5\u8be2\u9700\u8f93\u51fa C \u8868, \u8fd9\u4e2a SQL \u8be5\u5982\u4f55\u5199? \u591a\u8c22\u6307\u6559!!<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3796541\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gaobing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             select a.id, b.string from a join b on b.string like concat(a.string,&#8217; %&#8217;) or b.string like concat(&#8216;% &#8216;,a.string) or b.string like concat(&#8216;% &#8216;,a.string,&#8217; %&#8217;)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u52a9: \u8fd9\u4e2a SQL \u67e5\u8be2\u5982\u4f55\u5199?&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172393"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172393"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172393\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172393"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}