{"id":969,"date":"2023-05-28T02:28:29","date_gmt":"2023-05-27T18:28:29","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=969"},"modified":"2023-05-28T02:28:29","modified_gmt":"2023-05-27T18:28:29","slug":"mysql%e4%b8%ad%e5%a6%82%e4%bd%95%e9%ab%98%e6%95%88%e7%9a%84%e5%ae%9e%e7%8e%b0%e6%a8%a1%e7%b3%8a%e6%9f%a5%e8%af%a2%ef%bc%88%e9%99%8430%e6%9d%a1%e4%bc%98%e5%8c%96%e5%bb%ba%e8%ae%ae%ef%bc%89","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/mysql\/mysql%e4%b8%ad%e5%a6%82%e4%bd%95%e9%ab%98%e6%95%88%e7%9a%84%e5%ae%9e%e7%8e%b0%e6%a8%a1%e7%b3%8a%e6%9f%a5%e8%af%a2%ef%bc%88%e9%99%8430%e6%9d%a1%e4%bc%98%e5%8c%96%e5%bb%ba%e8%ae%ae%ef%bc%89\/","title":{"rendered":"MySQL\u4e2d\u5982\u4f55\u9ad8\u6548\u7684\u5b9e\u73b0\u6a21\u7cca\u67e5\u8be2\uff08\u964430\u6761\u4f18\u5316\u5efa\u8bae\uff09"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"padding-right: 10px;padding-left: 10px;outline: 0px;font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\" data-mpa-powered-by=\"yiban.io\">\n<section><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weui-theme=\"light\" data-id=\"Mzg2OTU0MzQ5MA==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/D2s5nVkjoCA3VicEFPuoRxlSCI8u6znCa9jknaj4oDLVWx5Lnmicnhsh7ypvxLwBH7Eia3U9WOz4MSrBRhFgLC3Kg\/0?wx_fmt=png\" data-nickname=\"Code\u89c6\u89d2\" data-alias=\"\" data-signature=\"\u597d\u8bb0\u6027\u4e0d\u5982\u70c2\u7b14\u5934\uff0c\u7b14\u8005\u628a\u5de5\u4f5c\u751f\u6daf\u4e2d\u7684 java\u516b\u80a1\u6587\u3001JVM\u3001\u6846\u67b6\u6e90\u7801\u3001\u6570\u636e\u5e93\u3001\u4e2d\u95f4\u4ef6\u3001\u9762\u8bd5\u77e5\u8bc6\u603b\u7ed3\u6210\u6709\u6761\u7406\u7684\u7b14\u8bb0\u6587\u6863\u8fdb\u884c\u5206\u4eab\u3002\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">\u5728\u4f7f\u7528msyql\u8fdb\u884c\u6a21\u7cca\u67e5\u8be2\u7684\u65f6\u5019\uff0c\u5f88\u81ea\u7136\u7684\u4f1a\u7528\u5230like\u8bed\u53e5\uff0c\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u5728\u6570\u636e\u91cf\u5c0f\u7684\u65f6\u5019\uff0c\u4e0d\u5bb9\u6613\u770b\u51fa\u67e5\u8be2\u7684\u6548\u7387\uff0c\u4f46\u5728\u6570\u636e\u91cf\u8fbe\u5230\u767e\u4e07\u7ea7\uff0c\u5343\u4e07\u7ea7\u7684\u65f6\u5019\uff0c\u67e5\u8be2\u7684\u6548\u7387\u5c31\u5f88\u5bb9\u6613\u663e\u73b0\u51fa\u6765\u3002\u8fd9\u4e2a\u65f6\u5019\u67e5\u8be2\u7684\u6548\u7387\u5c31\u663e\u5f97\u5f88\u91cd\u8981\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">\u4e00\u822c\u60c5\u51b5\u4e0blike\u6a21\u7cca\u67e5\u8be2\u7684\u5199\u6cd5\u4e3a\uff08field\u5df2\u5efa\u7acb\u7d22\u5f15\uff09\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"margin-bottom: -7px;outline: 0px;display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021505653.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 657px;border-radius: 5px;\"><\/span><code style=\"padding: 15px 16px 16px;outline: 0px;overflow-x: auto;color: rgb(171, 178, 191);display: -webkit-box;font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;font-size: 12px;background: rgb(40, 44, 52);border-radius: 5px;\"><span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">select<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">num<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">from<\/span>&nbsp;a&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">where<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">exists<\/span>(<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">select<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(209, 154, 102);line-height: 26px;\">1<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">from<\/span>&nbsp;b&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">where<\/span>&nbsp;<span style=\"outline: 0px;color: rgb(198, 120, 221);line-height: 26px;\">num<\/span>=a.num)<br style=\"outline: 0px;\"  \/><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">14\u3001\u5e76\u4e0d\u662f\u6240\u6709\u7d22\u5f15\u5bf9\u67e5\u8be2\u90fd\u6709\u6548\uff0cSQL\u662f\u6839\u636e\u8868\u4e2d\u6570\u636e\u6765\u8fdb\u884c\u67e5\u8be2\u4f18\u5316\u7684\uff0c\u5f53\u7d22\u5f15\u5217\u6709\u5927\u91cf\u6570\u636e\u91cd\u590d\u65f6\uff0cSQL\u67e5\u8be2\u53ef\u80fd\u4e0d\u4f1a\u53bb\u5229\u7528\u7d22\u5f15\uff0c\u5982\u4e00\u8868\u4e2d\u6709\u5b57\u6bb5 sex\uff0cmale\u3001female\u51e0\u4e4e\u5404\u4e00\u534a\uff0c\u90a3\u4e48\u5373\u4f7f\u5728sex\u4e0a\u5efa\u4e86\u7d22\u5f15\u4e5f\u5bf9\u67e5\u8be2\u6548\u7387\u8d77\u4e0d\u4e86\u4f5c\u7528\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">15\u3001\u7d22\u5f15\u5e76\u4e0d\u662f\u8d8a\u591a\u8d8a\u597d\uff0c\u7d22\u5f15\u56fa\u7136\u53ef\u4ee5\u63d0\u9ad8\u76f8\u5e94\u7684 select \u7684\u6548\u7387\uff0c\u4f46\u540c\u65f6\u4e5f\u964d\u4f4e\u4e86 insert \u53ca update \u7684\u6548\u7387\uff0c\u56e0\u4e3a insert \u6216 update \u65f6\u6709\u53ef\u80fd\u4f1a\u91cd\u5efa\u7d22\u5f15\uff0c\u6240\u4ee5\u600e\u6837\u5efa\u7d22\u5f15\u9700\u8981\u614e\u91cd\u8003\u8651\uff0c\u89c6\u5177\u4f53\u60c5\u51b5\u800c\u5b9a\u3002\u4e00\u4e2a\u8868\u7684\u7d22\u5f15\u6570\u6700\u597d\u4e0d\u8981\u8d85\u8fc76\u4e2a\uff0c\u82e5\u592a\u591a\u5219\u5e94\u8003\u8651\u4e00\u4e9b\u4e0d\u5e38\u4f7f\u7528\u5230\u7684\u5217\u4e0a\u5efa\u7684\u7d22\u5f15\u662f\u5426\u6709 \u5fc5\u8981\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">16.\u5e94\u5c3d\u53ef\u80fd\u7684\u907f\u514d\u66f4\u65b0&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">clustered<\/code>&nbsp;\u7d22\u5f15\u6570\u636e\u5217\uff0c\u56e0\u4e3a&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">clustered<\/code>&nbsp;\u7d22\u5f15\u6570\u636e\u5217\u7684\u987a\u5e8f\u5c31\u662f\u8868\u8bb0\u5f55\u7684\u7269\u7406\u5b58\u50a8\u987a\u5e8f\uff0c\u4e00\u65e6\u8be5\u5217\u503c\u6539\u53d8\u5c06\u5bfc\u81f4\u6574\u4e2a\u8868\u8bb0\u5f55\u7684\u987a\u5e8f\u7684\u8c03\u6574\uff0c\u4f1a\u8017\u8d39\u76f8\u5f53\u5927\u7684\u8d44\u6e90\u3002\u82e5\u5e94\u7528\u7cfb\u7edf\u9700\u8981\u9891\u7e41\u66f4\u65b0&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">clustered<\/code>&nbsp;\u7d22\u5f15\u6570\u636e\u5217\uff0c\u90a3\u4e48\u9700\u8981\u8003\u8651\u662f\u5426\u5e94\u5c06\u8be5\u7d22\u5f15\u5efa\u4e3a&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">clustered<\/code>&nbsp;\u7d22\u5f15\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">17\u3001\u5c3d\u91cf\u4f7f\u7528\u6570\u5b57\u578b\u5b57\u6bb5\uff0c\u82e5\u53ea\u542b\u6570\u503c\u4fe1\u606f\u7684\u5b57\u6bb5\u5c3d\u91cf\u4e0d\u8981\u8bbe\u8ba1\u4e3a\u5b57\u7b26\u578b\uff0c\u8fd9\u4f1a\u964d\u4f4e\u67e5\u8be2\u548c\u8fde\u63a5\u7684\u6027\u80fd\uff0c\u5e76\u4f1a\u589e\u52a0\u5b58\u50a8\u5f00\u9500\u3002\u8fd9\u662f\u56e0\u4e3a\u5f15\u64ce\u5728\u5904\u7406\u67e5\u8be2\u548c\u8fde\u63a5\u65f6\u4f1a \u9010\u4e2a\u6bd4\u8f83\u5b57\u7b26\u4e32\u4e2d\u6bcf\u4e00\u4e2a\u5b57\u7b26\uff0c\u800c\u5bf9\u4e8e\u6570\u5b57\u578b\u800c\u8a00\u53ea\u9700\u8981\u6bd4\u8f83\u4e00\u6b21\u5c31\u591f\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">18\u3001\u5c3d\u53ef\u80fd\u7684\u4f7f\u7528&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">varchar\/nvarchar<\/code>&nbsp;\u4ee3\u66ff&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">char\/nchar<\/code>&nbsp;\uff0c\u56e0\u4e3a\u9996\u5148\u53d8\u957f\u5b57\u6bb5\u5b58\u50a8\u7a7a\u95f4\u5c0f\uff0c\u53ef\u4ee5\u8282\u7701\u5b58\u50a8\u7a7a\u95f4\uff0c\u5176\u6b21\u5bf9\u4e8e\u67e5\u8be2\u6765\u8bf4\uff0c\u5728\u4e00\u4e2a\u76f8\u5bf9\u8f83\u5c0f\u7684\u5b57\u6bb5\u5185\u641c\u7d22\u6548\u7387\u663e\u7136\u8981\u9ad8\u4e9b\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">19\u3001\u4efb\u4f55\u5730\u65b9\u90fd\u4e0d\u8981\u4f7f\u7528&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">select * from t<\/code>&nbsp;\uff0c\u7528\u5177\u4f53\u7684\u5b57\u6bb5\u5217\u8868\u4ee3\u66ff\u201c<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">*<\/code>\u201d\uff0c\u4e0d\u8981\u8fd4\u56de\u7528\u4e0d\u5230\u7684\u4efb\u4f55\u5b57\u6bb5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">20\u3001\u5c3d\u91cf\u4f7f\u7528\u8868\u53d8\u91cf\u6765\u4ee3\u66ff\u4e34\u65f6\u8868\u3002\u5982\u679c\u8868\u53d8\u91cf\u5305\u542b\u5927\u91cf\u6570\u636e\uff0c\u8bf7\u6ce8\u610f\u7d22\u5f15\u975e\u5e38\u6709\u9650\uff08\u53ea\u6709\u4e3b\u952e\u7d22\u5f15\uff09\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">21\u3001\u907f\u514d\u9891\u7e41\u521b\u5efa\u548c\u5220\u9664\u4e34\u65f6\u8868\uff0c\u4ee5\u51cf\u5c11\u7cfb\u7edf\u8868\u8d44\u6e90\u7684\u6d88\u8017\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">22\u3001\u4e34\u65f6\u8868\u5e76\u4e0d\u662f\u4e0d\u53ef\u4f7f\u7528\uff0c\u9002\u5f53\u5730\u4f7f\u7528\u5b83\u4eec\u53ef\u4ee5\u4f7f\u67d0\u4e9b\u4f8b\u7a0b\u66f4\u6709\u6548\uff0c\u4f8b\u5982\uff0c\u5f53\u9700\u8981\u91cd\u590d\u5f15\u7528\u5927\u578b\u8868\u6216\u5e38\u7528\u8868\u4e2d\u7684\u67d0\u4e2a\u6570\u636e\u96c6\u65f6\u3002\u4f46\u662f\uff0c\u5bf9\u4e8e\u4e00\u6b21\u6027\u4e8b\u4ef6\uff0c\u6700\u597d\u4f7f \u7528\u5bfc\u51fa\u8868\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">23\u3001\u5728\u65b0\u5efa\u4e34\u65f6\u8868\u65f6\uff0c\u5982\u679c\u4e00\u6b21\u6027\u63d2\u5165\u6570\u636e\u91cf\u5f88\u5927\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">select into<\/code>&nbsp;\u4ee3\u66ff&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">create table<\/code>\uff0c\u907f\u514d\u9020\u6210\u5927\u91cf log \uff0c\u4ee5\u63d0\u9ad8\u901f\u5ea6\uff1b\u5982\u679c\u6570\u636e\u91cf\u4e0d\u5927\uff0c\u4e3a\u4e86\u7f13\u548c\u7cfb\u7edf\u8868\u7684\u8d44\u6e90\uff0c\u5e94\u5148<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">create table<\/code>\uff0c\u7136\u540einsert\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">24\u3001\u5982\u679c\u4f7f\u7528\u5230\u4e86\u4e34\u65f6\u8868\uff0c\u5728\u5b58\u50a8\u8fc7\u7a0b\u7684\u6700\u540e\u52a1\u5fc5\u5c06\u6240\u6709\u7684\u4e34\u65f6\u8868\u663e\u5f0f\u5220\u9664\uff0c\u5148&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">truncate table<\/code>&nbsp;\uff0c\u7136\u540e&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">drop table<\/code>&nbsp;\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u7cfb\u7edf\u8868\u7684\u8f83\u957f\u65f6\u95f4\u9501\u5b9a\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">25\u3001\u5c3d\u91cf\u907f\u514d\u4f7f\u7528\u6e38\u6807\uff0c\u56e0\u4e3a\u6e38\u6807\u7684\u6548\u7387\u8f83\u5dee\uff0c\u5982\u679c\u6e38\u6807\u64cd\u4f5c\u7684\u6570\u636e\u8d85\u8fc71\u4e07\u884c\uff0c\u90a3\u4e48\u5c31\u5e94\u8be5\u8003\u8651\u6539\u5199\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">26\u3001\u4f7f\u7528\u57fa\u4e8e\u6e38\u6807\u7684\u65b9\u6cd5\u6216\u4e34\u65f6\u8868\u65b9\u6cd5\u4e4b\u524d\uff0c\u5e94\u5148\u5bfb\u627e\u57fa\u4e8e\u96c6\u7684\u89e3\u51b3\u65b9\u6848\u6765\u89e3\u51b3\u95ee\u9898\uff0c\u57fa\u4e8e\u96c6\u7684\u65b9\u6cd5\u901a\u5e38\u66f4\u6709\u6548\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">27\u3001\u4e0e\u4e34\u65f6\u8868\u4e00\u6837\uff0c\u6e38\u6807\u5e76\u4e0d\u662f\u4e0d\u53ef\u4f7f\u7528\u3002\u5bf9\u5c0f\u578b\u6570\u636e\u96c6\u4f7f\u7528&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">FAST_FORWARD<\/code>&nbsp;\u6e38\u6807\u901a\u5e38\u8981\u4f18\u4e8e\u5176\u4ed6\u9010\u884c\u5904\u7406\u65b9\u6cd5\uff0c\u5c24\u5176\u662f\u5728\u5fc5\u987b\u5f15\u7528\u51e0\u4e2a\u8868\u624d\u80fd\u83b7\u5f97\u6240\u9700\u7684\u6570\u636e\u65f6\u3002\u5728\u7ed3\u679c\u96c6\u4e2d\u5305\u62ec\u201c\u5408\u8ba1\u201d\u7684\u4f8b\u7a0b\u901a\u5e38\u8981\u6bd4\u4f7f\u7528\u6e38\u6807\u6267\u884c\u7684\u901f\u5ea6\u5feb\u3002\u5982\u679c\u5f00\u53d1\u65f6 \u95f4\u5141\u8bb8\uff0c\u57fa\u4e8e\u6e38\u6807\u7684\u65b9\u6cd5\u548c\u57fa\u4e8e\u96c6\u7684\u65b9\u6cd5\u90fd\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b\uff0c\u770b\u54ea\u4e00\u79cd\u65b9\u6cd5\u7684\u6548\u679c\u66f4\u597d\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">28\u3001\u5728\u6240\u6709\u7684\u5b58\u50a8\u8fc7\u7a0b\u548c\u89e6\u53d1\u5668\u7684\u5f00\u59cb\u5904\u8bbe\u7f6e&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">SET NOCOUNT ON<\/code>&nbsp;\uff0c\u5728\u7ed3\u675f\u65f6\u8bbe\u7f6e&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">SET NOCOUNT OFF<\/code>&nbsp;\u3002\u65e0\u9700\u5728\u6267\u884c\u5b58\u50a8\u8fc7\u7a0b\u548c\u89e6\u53d1\u5668\u7684\u6bcf\u4e2a\u8bed\u53e5\u540e\u5411\u5ba2\u6237\u7aef\u53d1\u9001&nbsp;<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">DONE_IN_PROC<\/code>&nbsp;\u6d88\u606f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">29\u3001\u5c3d\u91cf\u907f\u514d\u5411\u5ba2\u6237\u7aef\u8fd4\u56de\u5927\u6570\u636e\u91cf\uff0c\u82e5\u6570\u636e\u91cf\u8fc7\u5927\uff0c\u5e94\u8be5\u8003\u8651\u76f8\u5e94\u9700\u6c42\u662f\u5426\u5408\u7406\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;line-height: 26px;text-align: justify;\">30\u3001\u5c3d\u91cf\u907f\u514d\u5927\u4e8b\u52a1\u64cd\u4f5c\uff0c\u63d0\u9ad8\u7cfb\u7edf\u5e76\u53d1\u80fd\u529b\u3002<\/p>\n<\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;white-space: normal;font-size: 16px;letter-spacing: 0px;text-align: left;background-color: rgb(255, 255, 255);color: rgb(62, 62, 62);line-height: 1.5;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\n<section style=\"outline: 0px;line-height: 1.5;letter-spacing: 0px;\">\n<section style=\"outline: 0px;line-height: 25.6px;font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\n<section style=\"outline: 0px;\">\n<section style=\"outline: 0px;line-height: 25.6px;\">\n<section style=\"outline: 0px;line-height: 25.6px;\">\n<section style=\"outline: 0px;\">\n<section style=\"outline: 0px;\">\n<section style=\"outline: 0px;\">\n<section style=\"outline: 0px;\">\n<section style=\"outline: 0px;line-height: 25.6px;\">\n<blockquote style=\"margin-top: 15px;margin-bottom: 20px;padding: 10px 20px 10px 15px;outline: 0px;color: rgba(0, 0, 0, 0.5);line-height: 24px;letter-spacing: 0.544px;background-color: rgba(112, 138, 153, 0.098);min-height: 0px;background-image: none;background-clip: border-box;background-position: 0% 0%;background-repeat: repeat;background-size: auto;bottom: auto;float: none;height: 76px;left: auto;max-height: none;min-width: 0px;text-align: center;text-decoration-style: solid;text-decoration-color: rgb(154, 154, 154);top: auto;z-index: auto;visibility: visible;clear: none;\">\n<p style=\"outline: 0px;letter-spacing: 0.544px;text-align: left;\"><span style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(165, 165, 165);font-size: 13px;\">\u4f5c\u8005\uff1a<span style=\"outline: 0px;\"><\/span><span style=\"outline: 0px;\"><\/span><span style=\"outline: 0px;\"><\/span>UnmatchedSelf<span style=\"outline: 0px;\"><\/span><span style=\"outline: 0px;\"><\/span><span style=\"outline: 0px;\"><\/span><\/span><\/p>\n<p style=\"outline: 0px;letter-spacing: 0.544px;font-variant-numeric: normal;font-variant-east-asian: normal;font-stretch: normal;font-size: 14px;line-height: normal;font-family: Helvetica;color: rgb(15, 23, 33);text-align: start;\"><span style=\"outline: 0px;color: rgb(154, 154, 154);font-family: \u5fae\u8f6f\u96c5\u9ed1;letter-spacing: 0.544px;font-size: 13px;\">\u6765\u6e90\uff1acnblogs.com\/ysySelf\/p\/11163487.html<\/span><\/p>\n<p><br  \/><\/p>\n<p><br  \/><\/p>\n<\/blockquote>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 Code\u89c6\u89d2              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528msyql\u8fdb\u884c\u6a21\u7cca\u67e5\u8be2\u7684\u65f6\u5019\uff0c\u5f88\u81ea\u7136\u7684\u4f1a\u7528\u5230like\u8bed\u53e5\uff0c\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u5728\u6570\u636e\u91cf\u5c0f\u7684\u65f6\u5019\uff0c\u4e0d\u5bb9\u6613\u770b\u51fa\u67e5\u8be2\u7684\u6548\u7387\uff0c\u4f46\u5728\u6570\u636e\u91cf\u8fbe\u5230 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":967,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-969","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837-150x150.jpeg","content_first_image":null,"post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837-300x127.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837.jpeg","post_frist_image":null,"post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837-300x127.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528021504837.jpeg","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"MySQL","post_date":"2023-05-27","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":262,"next_post_id":1724,"next_post_title":"9\u5927\u8868\u8bbe\u8ba1\u4f18\u5316\u65b9\u6cd5\uff0c\u8ba9 MySQL \u6027\u80fd\u98de\u5347\uff01","previous_post_id":528,"previous_post_title":"\u6570\u636e\u5e93\u6162\u67e5\u8be2\u7684\u5177\u4f53\u539f\u56e0\uff0c\u4f18\u5316\u7b56\u7565\u64ad","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=969"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/969\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/967"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}