{"id":134,"date":"2024-12-09T00:08:56","date_gmt":"2024-12-08T16:08:56","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=134"},"modified":"2024-12-09T00:08:56","modified_gmt":"2024-12-08T16:08:56","slug":"%e4%b8%8d%e5%90%8c%e9%98%b6%e6%ae%b5%e5%af%b9sql%e6%8a%80%e8%83%bd%e7%9a%84%e4%b8%8d%e5%90%8c%e8%a6%81%e6%b1%82","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2024\/12\/09\/%e4%b8%8d%e5%90%8c%e9%98%b6%e6%ae%b5%e5%af%b9sql%e6%8a%80%e8%83%bd%e7%9a%84%e4%b8%8d%e5%90%8c%e8%a6%81%e6%b1%82\/","title":{"rendered":"\u4e0d\u540c\u9636\u6bb5\u5bf9SQL\u6280\u80fd\u7684\u4e0d\u540c\u8981\u6c42"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5728\u6570\u636e\u5206\u6790\u3001\u6570\u636e\u5de5\u7a0b\u3001\u6570\u636e\u5e93\u5f00\u53d1\u7b49\u9886\u57df\uff0cSQL \u662f\u975e\u5e38\u91cd\u8981\u7684\u6280\u80fd\u3002\u7136\u800c\uff0c\u4e0d\u540c\u804c\u4e1a\u9636\u6bb5\u7684\u4eba\u5bf9SQL\u7684\u8981\u6c42\u662f\u4e0d\u540c\u7684\u3002\u968f\u7740\u7ecf\u9a8c\u7684\u79ef\u7d2f\u548c\u5de5\u4f5c\u804c\u8d23\u7684\u53d8\u5316\uff0cSQL\u6280\u80fd\u7684\u6df1\u5ea6\u548c\u5e7f\u5ea6\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u4e0b\u9762\u6211\u4eec\u5c31\u4e0d\u540c\u804c\u4e1a\u9636\u6bb5\u5bf9SQL\u6280\u80fd\u7684\u8981\u6c42\u505a\u4e00\u4e2a\u8be6\u7ec6\u7684\u5206\u6790\uff1a<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>\u521d\u7ea7\u9636\u6bb5\uff1a\u57fa\u7840\u67e5\u8be2\u4e0e\u6570\u636e\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3b\u8981\u8981\u6c42\uff1a<\/h4>\n\n\n\n<p>\u5728\u804c\u4e1a\u751f\u6daf\u7684\u521d\u7ea7\u9636\u6bb5\uff0cSQL\u7684\u4e3b\u8981\u4f7f\u7528\u573a\u666f\u662f\u7b80\u5355\u7684\u6570\u636e\u67e5\u8be2\u548c\u6570\u636e\u64cd\u4f5c\u3002\u521d\u5b66\u8005\u901a\u5e38\u662f\u6570\u636e\u5206\u6790\u5e08\u3001\u6570\u636e\u79d1\u5b66\u5b9e\u4e60\u751f\u7b49\uff0c\u4efb\u52a1\u8f83\u4e3a\u57fa\u7840\uff0c\u91cd\u70b9\u662f\u80fd\u591f\u4ece\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u3001\u63d2\u5165\u3001\u66f4\u65b0\u548c\u5220\u9664\u6570\u636e\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5fc5\u5907\u6280\u80fd\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57fa\u672c\u67e5\u8be2<\/strong>\uff1a\u80fd\u591f\u4f7f\u7528 <code>SELECT<\/code> \u4ece\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u7b5b\u9009<\/strong>\uff1a\u4f7f\u7528 <code>WHERE<\/code> \u5b50\u53e5\u8fc7\u6ee4\u6570\u636e\uff0c\u719f\u6089\u5e38\u89c1\u7684\u6761\u4ef6\u64cd\u4f5c\u7b26\uff0c\u5982 <code>=<\/code>, <code>><\/code>, <code>&lt;<\/code>, <code>IN<\/code>, <code>BETWEEN<\/code>, <code>LIKE<\/code>\u3002<\/li>\n\n\n\n<li><strong>\u6392\u5e8f\u548c\u9650\u5236\u8fd4\u56de\u6570\u636e<\/strong>\uff1a\u4f7f\u7528 <code>ORDER BY<\/code> \u8fdb\u884c\u6392\u5e8f\uff0c<code>LIMIT<\/code> \u9650\u5236\u8fd4\u56de\u7684\u884c\u6570\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u4fee\u6539<\/strong>\uff1a\u80fd\u591f\u6267\u884c <code>INSERT<\/code> \u63d2\u5165\u6570\u636e\uff0c<code>UPDATE<\/code> \u66f4\u65b0\u6570\u636e\uff0c<code>DELETE<\/code> \u5220\u9664\u6570\u636e\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u67e5\u8be2\u5458\u5de5\u8868\u4e2d\u6240\u6709\u5e74\u9f84\u5927\u4e8e30\u5c81\u7684\u5458\u5de5\uff0c\u5e76\u6309\u5e74\u9f84\u964d\u5e8f\u6392\u5217\nSELECT name, age FROM employees WHERE age &gt; 30 ORDER BY age DESC LIMIT 10;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>\u4e2d\u7ea7\u9636\u6bb5\uff1a\u591a\u8868\u8054\u63a5\u3001\u805a\u5408\u4e0e\u4f18\u5316<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3b\u8981\u8981\u6c42\uff1a<\/h4>\n\n\n\n<p>\u5230\u4e86\u4e2d\u7ea7\u9636\u6bb5\uff0c\u6570\u636e\u5206\u6790\u5e08\u3001\u6570\u636e\u5e93\u7ba1\u7406\u5458\u6216\u5f00\u53d1\u8005\u4f1a\u5f00\u59cb\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u636e\u5173\u7cfb\uff0c\u5e76\u4e14\u9700\u8981\u8fdb\u884c\u6570\u636e\u805a\u5408\u548c\u591a\u8868\u67e5\u8be2\u3002\u8fd9\u65f6\u5019\uff0cSQL\u6280\u80fd\u8981\u6c42\u4e0d\u4ec5\u8981\u80fd\u5904\u7406\u5355\u8868\u7684\u6570\u636e\uff0c\u8fd8\u9700\u8981\u80fd\u591f\u8fdb\u884c\u590d\u6742\u7684\u8054\u5408\u67e5\u8be2\u3001\u6570\u636e\u6c47\u603b\u548c\u6027\u80fd\u4f18\u5316\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5fc5\u5907\u6280\u80fd\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u591a\u8868\u8054\u63a5\uff08JOIN\uff09<\/strong>\uff1a\u638c\u63e1 <code>INNER JOIN<\/code>\u3001<code>LEFT JOIN<\/code>\u3001<code>RIGHT JOIN<\/code> \u7b49\u5e38\u7528\u7684\u8054\u63a5\u64cd\u4f5c\uff0c\u80fd\u591f\u5904\u7406\u591a\u4e2a\u8868\u7684\u6570\u636e\u6574\u5408\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u805a\u5408<\/strong>\uff1a\u719f\u7ec3\u4f7f\u7528\u805a\u5408\u51fd\u6570\uff08\u5982 <code>COUNT()<\/code>\u3001<code>SUM()<\/code>\u3001<code>AVG()<\/code>\u3001<code>MAX()<\/code>\u3001<code>MIN()<\/code>\uff09\u4ee5\u53ca <code>GROUP BY<\/code> \u548c <code>HAVING<\/code> \u8fdb\u884c\u5206\u7ec4\u548c\u805a\u5408\u64cd\u4f5c\u3002<\/li>\n\n\n\n<li><strong>\u5b50\u67e5\u8be2<\/strong>\uff1a\u80fd\u591f\u5728 <code>SELECT<\/code>\u3001<code>FROM<\/code> \u6216 <code>WHERE<\/code> \u5b50\u53e5\u4e2d\u4f7f\u7528\u5b50\u67e5\u8be2\u3002<\/li>\n\n\n\n<li><strong>\u6027\u80fd\u4f18\u5316<\/strong>\uff1a\u5f00\u59cb\u5173\u6ce8\u67e5\u8be2\u6027\u80fd\uff0c\u80fd\u591f\u4f7f\u7528 <code>EXPLAIN<\/code> \u6765\u5206\u6790\u67e5\u8be2\u8ba1\u5212\uff0c\u5e76\u901a\u8fc7\u4f18\u5316\u7d22\u5f15\u3001\u51cf\u5c11\u5b50\u67e5\u8be2\u7b49\u624b\u6bb5\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u67e5\u8be2\u6bcf\u4e2a\u90e8\u95e8\u7684\u5458\u5de5\u6570\u91cf\uff0c\u4e14\u4ec5\u8fd4\u56de\u5458\u5de5\u6570\u5927\u4e8e5\u7684\u90e8\u95e8\nSELECT department, COUNT(*) AS num_employees\nFROM employees\nGROUP BY department\nHAVING COUNT(*) &gt; 5;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u4f7f\u7528INNER JOIN\u5c06\u5458\u5de5\u8868\u4e0e\u90e8\u95e8\u8868\u8054\u63a5\uff0c\u67e5\u8be2\u6bcf\u4e2a\u5458\u5de5\u7684\u59d3\u540d\u548c\u90e8\u95e8\u540d\u79f0\nSELECT employees.name, departments.department_name\nFROM employees\nINNER JOIN departments ON employees.department_id = departments.id;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>\u9ad8\u7ea7\u9636\u6bb5\uff1a\u9ad8\u7ea7\u67e5\u8be2\u3001\u4e8b\u52a1\u7ba1\u7406\u4e0e\u6570\u636e\u5efa\u6a21<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3b\u8981\u8981\u6c42\uff1a<\/h4>\n\n\n\n<p>\u8fdb\u5165\u9ad8\u7ea7\u9636\u6bb5\uff0c\u5de5\u4f5c\u804c\u8d23\u901a\u5e38\u4f1a\u6d89\u53ca\u6570\u636e\u5e93\u8bbe\u8ba1\u3001\u4f18\u5316\u3001\u4e8b\u52a1\u7ba1\u7406\u4ee5\u53ca\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u7b49\u5de5\u4f5c\u3002\u5728\u8fd9\u4e2a\u9636\u6bb5\uff0cSQL\u6280\u80fd\u8981\u6c42\u66f4\u52a0\u6df1\u5165\uff0c\u6d89\u53ca\u5230\u590d\u6742\u7684\u67e5\u8be2\u3001\u9ad8\u7ea7\u7684\u6570\u636e\u5e93\u7ba1\u7406\u3001\u6570\u636e\u5efa\u6a21\u548c\u6570\u636e\u5e93\u6027\u80fd\u8c03\u4f18\u7b49\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5fc5\u5907\u6280\u80fd\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7a97\u53e3\u51fd\u6570<\/strong>\uff1a\u638c\u63e1\u7a97\u53e3\u51fd\u6570\uff08\u5982 <code>ROW_NUMBER()<\/code>\u3001<code>RANK()<\/code>\u3001<code>LEAD()<\/code>\u3001<code>LAG()<\/code>\uff09\uff0c\u7528\u4e8e\u5904\u7406\u6392\u5e8f\u3001\u6392\u540d\u3001\u6ed1\u52a8\u7a97\u53e3\u7b49\u5206\u6790\u573a\u666f\u3002<\/li>\n\n\n\n<li><strong>\u590d\u6742\u7684\u5b50\u67e5\u8be2\u548c\u8054\u63a5<\/strong>\uff1a\u80fd\u591f\u5904\u7406\u590d\u6742\u7684\u5d4c\u5957\u67e5\u8be2\u548c\u591a\u8868\u8054\u63a5\uff0c\u89e3\u51b3\u590d\u6742\u7684\u6570\u636e\u9700\u6c42\u3002<\/li>\n\n\n\n<li><strong>\u4e8b\u52a1\u7ba1\u7406<\/strong>\uff1a\u7406\u89e3\u4e8b\u52a1\u7684ACID\u539f\u5219\uff0c\u80fd\u591f\u4f7f\u7528 <code>BEGIN<\/code>\u3001<code>COMMIT<\/code> \u548c <code>ROLLBACK<\/code> \u7ba1\u7406\u4e8b\u52a1\uff0c\u786e\u4fdd\u6570\u636e\u4e00\u81f4\u6027\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5e93\u8bbe\u8ba1\u4e0e\u5efa\u6a21<\/strong>\uff1a\u80fd\u591f\u8bbe\u8ba1\u5408\u7406\u7684\u6570\u636e\u6a21\u578b\uff0c\u7406\u89e3\u6570\u636e\u5e93\u7684\u89c4\u8303\u5316\u3001\u53cd\u89c4\u8303\u5316\uff0c\u4ee5\u53ca\u661f\u578b\u3001\u96ea\u82b1\u6a21\u578b\u7b49\u6570\u636e\u4ed3\u5e93\u8bbe\u8ba1\u3002<\/li>\n\n\n\n<li><strong>\u6027\u80fd\u8c03\u4f18<\/strong>\uff1a\u719f\u6089\u7d22\u5f15\u7684\u521b\u5efa\u548c\u4f18\u5316\uff0c\u80fd\u591f\u5206\u6790\u67e5\u8be2\u6267\u884c\u8ba1\u5212\uff0c\u6539\u8fdb\u67e5\u8be2\u6027\u80fd\u3002\u80fd\u591f\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u96c6\uff0c\u4f18\u5316\u6570\u636e\u5b58\u50a8\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u4f7f\u7528\u7a97\u53e3\u51fd\u6570\u6392\u540d\u6bcf\u4e2a\u90e8\u95e8\u4e2d\u7684\u5458\u5de5\nSELECT name, department, salary, \n       ROW_NUMBER() OVER (PARTITION BY department ORDER BY salary DESC) AS rank\nFROM employees;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u4f7f\u7528\u4e8b\u52a1\u66f4\u65b0\u5458\u5de5\u5de5\u8d44\uff0c\u5e76\u786e\u4fdd\u64cd\u4f5c\u7684\u539f\u5b50\u6027\nBEGIN;\nUPDATE employees SET salary = salary * 1.1 WHERE department = 'HR';\nCOMMIT;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong>\u4e13\u5bb6\u9636\u6bb5\uff1a\u5927\u6570\u636e\u5904\u7406\u4e0e\u9ad8\u7ea7\u4f18\u5316<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3b\u8981\u8981\u6c42\uff1a<\/h4>\n\n\n\n<p>\u5bf9\u4e8e\u6570\u636e\u5de5\u7a0b\u5e08\u3001\u6570\u636e\u67b6\u6784\u5e08\u6216\u8005\u6570\u636e\u5e93\u4e13\u5bb6\u7b49\u9ad8\u9636\u804c\u4f4d\uff0cSQL\u6280\u80fd\u8981\u6c42\u66f4\u52a0\u5168\u9762\u548c\u6df1\u5165\uff0c\u6d89\u53ca\u5927\u6570\u636e\u5904\u7406\u3001\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u7684\u4f7f\u7528\u3001\u590d\u6742\u7684\u6570\u636e\u4ed3\u5e93\u67e5\u8be2\u3001\u4ee5\u53ca\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u67b6\u6784\u8bbe\u8ba1\u7b49\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5fc5\u5907\u6280\u80fd\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5927\u6570\u636e\u4e0e\u5206\u5e03\u5f0f\u6570\u636e\u5e93<\/strong>\uff1a\u7406\u89e3\u548c\u4f7f\u7528\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u5982 Hadoop\u3001Spark SQL\u3001Google BigQuery \u7b49\uff0c\u80fd\u591f\u5904\u7406\u6d77\u91cf\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u590d\u6742\u7684\u6570\u636e\u4ed3\u5e93\u67e5\u8be2<\/strong>\uff1a\u80fd\u591f\u8bbe\u8ba1\u590d\u6742\u7684ETL\u6d41\u7a0b\uff0c\u5904\u7406\u6570\u636e\u4ed3\u5e93\u4e2d\u7684\u590d\u6742\u67e5\u8be2\u3002<\/li>\n\n\n\n<li><strong>\u9ad8\u7ea7\u4f18\u5316<\/strong>\uff1a\u6df1\u5165\u7406\u89e3\u6570\u636e\u5e93\u7684\u6267\u884c\u8ba1\u5212\uff0c\u80fd\u591f\u901a\u8fc7\u4f18\u5316\u67e5\u8be2\u3001\u8c03\u6574\u7d22\u5f15\u3001\u5206\u533a\u8868\u7b49\u624b\u6bb5\u4f18\u5316\u6027\u80fd\uff0c\u5904\u7406\u74f6\u9888\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5e93\u67b6\u6784\u8bbe\u8ba1<\/strong>\uff1a\u80fd\u591f\u8bbe\u8ba1\u9ad8\u6548\u3001\u53ef\u6269\u5c55\u7684\u6570\u636e\u5e93\u67b6\u6784\uff0c\u786e\u4fdd\u6570\u636e\u7684\u9ad8\u53ef\u7528\u6027\u548c\u5bb9\u9519\u6027\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u5728\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u4e2d\uff0c\u4f7f\u7528\u5206\u533a\u8868\u6765\u4f18\u5316\u67e5\u8be2\nCREATE TABLE employees (\n    id INT,\n    name VARCHAR(100),\n    department_id INT,\n    salary DECIMAL\n)\nPARTITION BY RANGE(department_id);<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u603b\u7ed3<\/h3>\n\n\n\n<p>\u4e0d\u540c\u804c\u4e1a\u9636\u6bb5\u5bf9SQL\u7684\u8981\u6c42\u9010\u6e10\u589e\u52a0\uff0c\u5177\u4f53\u8981\u6c42\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u521d\u7ea7\u9636\u6bb5<\/strong>\uff1a\u57fa\u672c\u7684\u67e5\u8be2\u548c\u6570\u636e\u64cd\u4f5c\uff08\u5982 <code>SELECT<\/code>\u3001<code>INSERT<\/code>\u3001<code>UPDATE<\/code>\u3001<code>DELETE<\/code>\uff09\u3002<\/li>\n\n\n\n<li><strong>\u4e2d\u7ea7\u9636\u6bb5<\/strong>\uff1a\u591a\u8868\u8fde\u63a5\u3001\u6570\u636e\u805a\u5408\u3001\u6027\u80fd\u4f18\u5316\uff08\u5982\u4f7f\u7528 <code>JOIN<\/code>\u3001<code>GROUP BY<\/code>\u3001<code>EXPLAIN<\/code>\uff09\u3002<\/li>\n\n\n\n<li><strong>\u9ad8\u7ea7\u9636\u6bb5<\/strong>\uff1a\u4e8b\u52a1\u7ba1\u7406\u3001\u590d\u6742\u67e5\u8be2\u3001\u6570\u636e\u5efa\u6a21\u3001\u6027\u80fd\u8c03\u4f18\u3001\u7a97\u53e3\u51fd\u6570\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u4e13\u5bb6\u9636\u6bb5<\/strong>\uff1a\u5927\u6570\u636e\u5904\u7406\u3001\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u3001\u6570\u636e\u4ed3\u5e93\u67e5\u8be2\u3001\u6570\u636e\u5e93\u67b6\u6784\u8bbe\u8ba1\u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u968f\u7740\u5de5\u4f5c\u7ecf\u9a8c\u7684\u79ef\u7d2f\uff0cSQL\u6280\u80fd\u7684\u590d\u6742\u6027\u548c\u6df1\u5ea6\u90fd\u4f1a\u4e0d\u65ad\u589e\u52a0\uff0c\u56e0\u6b64\u4e0d\u540c\u9636\u6bb5\u7684\u8981\u6c42\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u638c\u63e1SQL\u7684\u57fa\u7840\u662f\u6bcf\u4e2a\u6570\u636e\u5de5\u4f5c\u8005\u7684\u5fc5\u4fee\u8bfe\uff0c\u800c\u968f\u7740\u8d23\u4efb\u7684\u589e\u52a0\uff0c\u6570\u636e\u5904\u7406\u7684\u590d\u6742\u5ea6\u4e5f\u4f1a\u76f8\u5e94\u63d0\u5347\uff0c\u5bf9SQL\u7684\u8981\u6c42\u4e5f\u4f1a\u66f4\u9ad8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6570\u636e\u5206\u6790\u3001\u6570\u636e\u5de5\u7a0b\u3001\u6570\u636e\u5e93\u5f00\u53d1\u7b49\u9886\u57df\uff0cSQL \u662f\u975e\u5e38\u91cd\u8981\u7684\u6280\u80fd\u3002\u7136\u800c\uff0c\u4e0d\u540c\u804c\u4e1a\u9636\u6bb5\u7684\u4eba\u5bf9SQL\u7684\u8981\u6c42\u662f\u4e0d\u540c\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[42,51,52],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-sql","tag-42","tag-51","tag-52"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":135,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions\/135"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}