{"id":11,"date":"2021-06-17T23:41:56","date_gmt":"2021-06-17T15:41:56","guid":{"rendered":"https:\/\/blog.mumudlin.com\/?p=11"},"modified":"2023-05-18T22:30:14","modified_gmt":"2023-05-18T14:30:14","slug":"mysql-%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/blog.mumudlin.com\/index.php\/mysql-%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0\/","title":{"rendered":"MySQL \u5b66\u4e60\u7b14\u8bb0"},"content":{"rendered":"<h1>MySQL\u5b66\u4e60\u7b14\u8bb0<\/h1>\n<h2>\u4e00. \u5b89\u88c5\u548c\u914d\u7f6e<\/h2>\n<p>\u7565\u8fc7\uff0c\u7f51\u7edc\u4e0a\u6cdb\u6ee5\u4e86<\/p>\n<h2>\u4e8c. \u57fa\u672c\u4f7f\u7528<\/h2>\n<h3>\u57fa\u7840\u547d\u4ee4<\/h3>\n<h4>\u8fdb\u5165mysql\u6570\u636e\u5e93\uff1a<\/h4>\n<pre><code class=\"language-mysql\">mysql -uroot -proot(root\u4e3a\u5bc6\u7801) #\u663e\u793a\u5bc6\u7801\u660e\u6587\u5f0f\u767b\u5f55\nmysql -uroot -p #\u4e0b\u65b9\u4f1a\u663e\u793a\u4e00\u4e2apassword\u8f93\u5165\u884c\uff0c\u8f93\u5165\u4e0d\u4f1a\u6709\u53cd\u5e94\uff0c\u4e3a\u6b63\u5e38\u73b0\u8c61<\/code><\/pre>\n<h4>\u9000\u51fa<\/h4>\n<pre><code class=\"language-mysql\">exit #\u9000\u51fa\u4e0d\u591aBB<\/code><\/pre>\n<h4>\u663e\u793a\u6570\u636e\u5e93<\/h4>\n<pre><code class=\"language-mysql\">show databases; # \u6ce8\u610f\u4ee5\u5206\u53f7\u7ed3\u5c3e,\u4e0d\u89c1\u201c;\u201d\u4e0d\u6267\u884c\n# \u6b64\u65f6\u4e0d\u6267\u884c\u65f6\uff0c\u53ef\u7528  \\c  \u7ec8\u6b62\u4e00\u6761SQL\u8bed\u53e5\u7684\u8f93\u5165<\/code><\/pre>\n<h4>\u521b\u5efa\u6570\u636e\u5e93<\/h4>\n<pre><code class=\"language-mysql\">create database [\u6570\u636e\u5e93\u540d];<\/code><\/pre>\n<h4>\u4f7f\u7528\u67d0\u4e2a\u6570\u636e\u5e93<\/h4>\n<pre><code class=\"language-mysql\">use [\u6570\u636e\u5e93\u540d]; # \u53cd\u9988\u662f\u663e\u793adatabase changed<\/code><\/pre>\n<h4>\u67e5\u770b\u54ea\u4e9b\u6570\u636e\u5e93\u4e0b\u6709\u54ea\u4e9b\u8868<\/h4>\n<pre><code class=\"language-mysql\">show tables;<\/code><\/pre>\n<h4>\u4ecesql\u6587\u4ef6\u4e2d\u5bfc\u5165\u6570\u636e<\/h4>\n<pre><code class=\"language-mysql\">mysql&gt; source F:\\BDDD\\bjpowernode.sql #\u8def\u5f84\u4e2d\u4e0d\u8981\u6709\u4e2d\u6587 <\/code><\/pre>\n<h4>\u67e5\u770b\u8868\u4e2d\u7684\u6570\u636e<\/h4>\n<pre><code class=\"language-mysql\">select * from [\u8868\u540d]; <\/code><\/pre>\n<h4>\u4e0d\u770b\u8868\u7684\u6570\u636e\uff0c\u53ea\u770b\u8868\u7684\u7ed3\u6784<\/h4>\n<pre><code class=\"language-mysql\">desc [\u8868\u540d];<\/code><\/pre>\n<h4>\u67e5\u770bmysql\u6570\u636e\u5e93\u7684\u7248\u672c\u53f7<\/h4>\n<pre><code class=\"language-mysql\">select version();<\/code><\/pre>\n<h4>\u67e5\u770b\u5f53\u524d\u4f7f\u7528\u7684\u6570\u636e\u5e93<\/h4>\n<pre><code class=\"language-mysql\">select database();<\/code><\/pre>\n<h3>\u57fa\u672c\u77e5\u8bc6<\/h3>\n<ol>\n<li>\n<p>\u8868\u662f\u6570\u636e\u5e93\u7684\u57fa\u672c\u5355\u5143\uff0c\u6570\u636e\u5e93\u4e2d\u662f\u4ee5\u8868\u683c\u7684\u6a21\u5f0f\u5b58\u50a8\u6570\u636e\u7684<\/p>\n<\/li>\n<li>\n<p>\u4efb\u4f55\u4e00\u5f20\u8868\u90fd\u6709\u884c\u548c\u5217<\/p>\n<pre><code class=\"language-mysql\">\u884c(row):\u88ab\u79f0\u4e3a\u6570\u636e\/\u8bb0\u5f55\n\u5217(column):\u88ab\u79f0\u4e3a\u5b57\u6bb5<\/code><\/pre>\n<\/li>\n<li>\n<p>\u6bcf\u4e00\u4e2a\u5b57\u6bb5\u90fd\u6709\uff1a\u5b57\u6bb5\u540d\uff0c\u6570\u636e\u7c7b\u578b\uff0c\u7ea6\u675f\u7684\u5c5e\u6027<\/p>\n<\/li>\n<li>\n<p>\u5173\u4e8eSQL\u8bed\u53e5\u7684\u5206\u7c7b<\/p>\n<pre><code class=\"language-mysql\">DQL\uff1a\u6570\u636e\u67e5\u8be2\u8bed\u8a00\uff0c\u51e1\u662f\u5e26\u6709select\u5173\u952e\u5b57\u7684\u90fd\u662f\u67e5\u8be2\u8bed\u53e5\nselect...\nDML\uff1a\u6570\u636e\u64cd\u4f5c\u8bed\u8a00(\u51e1\u662f\u5bf9\u8868\u5f53\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u589e\u5220\u6539\u7684\u90fd\u662fDML)\ninsert delete update\ninsert \u589e\ndelete \u5220\nupdate \u6539\nDDL\uff1a\u6570\u636e\u5b9a\u4e49\u8bed\u8a00\n\u51e1\u662f\u5e26\u6709create\u3001drop\u3001alter\u7684\u90fd\u662fDDL\u3002\nDDL\u4e3b\u8981\u64cd\u4f5c\u7684\u662f\u8868\u7684\u7ed3\u6784\uff0c\u4e0d\u662f\u8868\u7684\u6570\u636e\u3002\ncreate\uff1a\u65b0\u5efa\ndrop\uff1a\u5220\u9664\nalter\uff1a\u4fee\u6539\nTCL\uff1a\u4e8b\u52a1\u63a7\u5236\u63a7\u5236\u8bed\u8a00\n\u5305\u62ec\uff1a\n    \u4e8b\u7269\u63d0\u4ea4\uff1acommit\n    \u4e8b\u7269\u56de\u6eda\uff1arollback\nDCL\uff1a\u6570\u636e\u63a7\u5236\u8bed\u8a00\n\u6388\u6743\uff1agrant\n\u64a4\u9500\u6743\u9650\uff1arevoke<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3>\u57fa\u672c\u547d\u4ee4<\/h3>\n<h4>\u7b80\u5355\u67e5\u8be2\u8bed\u53e5<\/h4>\n<h5>\u67e5\u8be2\u4e00\u4e2a\u5b57\u6bb5<\/h5>\n<pre><code class=\"language-mysql\">select [\u5b57\u6bb5\u540d] from [\u8868\u540d]; # sql\u8bed\u53e5\u4e0d\u533a\u5206\u5927\u5c0f\u5199<\/code><\/pre>\n<h5>\u67e5\u8be2\u4e24\u4e2a\u6216\u591a\u4e2a\u5b57\u6bb5<\/h5>\n<pre><code class=\"language-mysql\">select [\u5b57\u6bb5\u540d],[\u5b57\u6bb5\u540d] from [\u8868\u540d];<\/code><\/pre>\n<h5>\u67e5\u8be2\u6240\u6709\u5b57\u6bb5<\/h5>\n<pre><code class=\"language-mysql\">select [],[],[],[],[],... from [\u8868\u540d];#\u7b2c\u4e00\u79cd\nselect * from [\u8868\u540d];# \u7b2c\u4e8c\u79cd\n# \u7b2c\u4e8c\u79cd\u6548\u7387\u6bd4\u8f83\u4f4e\uff0c\u53ef\u8bfb\u6027\u6bd4\u8f83\u5dee\uff0c\u4f1a\u5148\u628a*\u8f6c\u6362\u6210\u5b57\u6bb5\u540d<\/code><\/pre>\n<h5>\u7ed9\u67e5\u8be2\u7684\u5217\u8d77\u522b\u540d<\/h5>\n<pre><code class=\"language-mysql\">select [\u5b57\u6bb5\u540d] as [\u522b\u540d],[]... from [\u8868\u540d];# \u4f7f\u7528as\u5173\u952e\u5b57\u8d77\u522b\u540d\uff0c\u4e0d\u4f1a\u8fdb\u884c\u4fee\u6539\u64cd\u4f5c\n# as \u53ef\u4ee5\u7701\u7565\n# \u8d77\u522b\u540d\u7684\u65f6\u5019\uff0c\u522b\u540d\u4e2d\u6709\u7a7a\u683c\u4f1a\u7f16\u8bd1\u62a5\u9519\n# \u89e3\u51b3\u65b9\u6cd5\uff1a \u4f7f\u7528\u5f15\u53f7\u5c06\u201c\u522b\u540d\u201d\u5f15\u8d77\u6765\uff08&quot;&quot;\u548c\u2018\u2019\u90fd\u53ef\u4ee5\uff09\nselect deptno,dname &quot;dept name&quot; from dept;# \u793a\u4f8b\nselect deptno,dname &#039;dept name&#039; from dept;# \u793a\u4f8b,\u5efa\u8bae\u4f7f\u7528\u5355\u5f15\u53f7\uff0c\u5728\u6240\u6709\u7684\u6570\u636e\u5e93\u4e2d\u90fd\u53ef\u4ee5\u4f7f\u7528\u3002<\/code><\/pre>\n<h5>\u4f7f\u7528\u8868\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u8ba1\u7b97<\/h5>\n<pre><code class=\"language-mysql\"># \u5b57\u6bb5\u662f\u53ef\u4ee5\u53c2\u52a0\u52a0\u51cf\u4e58\u9664\u8fd0\u7b97\u7684\nselect ename,sal from emp;\nselect ename,sal*12 from emp;# \u663e\u793a\u7684\u5217\u540d\u4f1a\u51fa\u73b0\u95ee\u9898<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210519204943497.png\" alt=\"image-20210519204943497\" \/><\/p>\n<pre><code class=\"language-mysql\"># \u6b64\u65f6\u53ef\u4ee5\u7528\u8d77\u522b\u540d\u7684\u65b9\u5f0f\nselect ename,sal*12 as yearsal from emp;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210519205225022.png\" alt=\"image-20210519205225022\" \/><\/p>\n<pre><code class=\"language-mysql\"># \u5982\u679c\u8981\u5c06\u522b\u540d\u8bbe\u4e3a\u4e2d\u6587\u7684\nselect ename,sal*12 as &#039;\u5e74\u85aa&#039; from emp;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210519205523066.png\" alt=\"image-20210519205523066\" \/><\/p>\n<h4>\u6761\u4ef6\u67e5\u8be2<\/h4>\n<p>\u67e5\u8be2\u7b26\u5408\u6761\u4ef6\u7684\u6570\u636e<\/p>\n<h5>1. \u6709\u54ea\u4e9b\u6761\u4ef6<\/h5>\n<pre><code class=\"language-mysql\"> = \n !=\u6216&lt;&gt; # \u4e0d\u7b49\u53f7\n &lt;\n &lt;=\n &gt;=\n between ... and ... \u4e24\u4e2a\u503c\u4e4b\u95f4\uff0c\u7b49\u540c\u4e8e&gt;= and &lt;=\n and \u5e76\u4e14\n or \u6216\u8005\n in \u5305\u542b\n not \u53d6\u975e\uff0c\u4e3b\u8981\u7528\u5728is\u6216in\u4e2d\n like \u6a21\u7cca\u67e5\u8be2\uff0c\u652f\u6301%\u6216\u4e0b\u5212\u7ebf\u5339\u914d\n % \u5339\u914d\u4efb\u610f\u4e2a\u5b57\u7b26\n _ \u4e00\u4e2a\u4e0b\u5212\u7ebf\u53ea\u5339\u914d\u4e00\u4e2a\u5b57\u7b26<\/code><\/pre>\n<h5>2.\u67e5\u8be2\u85aa\u8d44\u7b49\u4e8e800\u7684\u5458\u5de5\u59d3\u540d\u548c\u7f16\u53f7<\/h5>\n<pre><code class=\"language-mysql\">select ename,empno from emp where sal=800;\n\n# \u67e5\u8be2\u4e0d\u7b49\u4e8e800\u7684\nselect ename,empno from emp where sal != 800;\n\n# \u67e5\u8be2SMITH\u7684\u7684\u7f16\u53f7\u548c\u85aa\u8d44\nselect empno,sal from emp where ename = &#039;SMITH&#039;;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521223615837.png\" alt=\"image-20210521223615837\" \/><\/p>\n<h5>3.\u67e5\u8be2\u85aa\u8d44\u57282450\u548c3000\u4e4b\u95f4\u7684\u5458\u5de5\u4fe1\u606f,\u4f7f\u7528 and<\/h5>\n<pre><code class=\"language-mysql\">select * from emp where sal&lt;=3000 and sal&gt;=2450;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521224350104.png\" alt=\"image-20210521224350104\" \/><\/p>\n<h5>4.\u4f7f\u7528betweed...and...<\/h5>\n<pre><code class=\"language-mysql\">select * from emp where sal between 2450 and 3000;# \u5fc5\u987b\u9075\u5faa and \u5de6\u5c0f\u53f3\u5927<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521224750221.png\" alt=\"image-20210521224750221\" \/><\/p>\n<h5>5.\u67e5\u8be2\u54ea\u4e9b\u5458\u5de5\u7684\u6d25\u8d34\/\u8865\u52a9\u4e3a\u7a7a<\/h5>\n<pre><code class=\"language-mysql\">select * from emp where comm is not null;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521225321941.png\" alt=\"image-20210521225321941\" \/><\/p>\n<pre><code class=\"language-mysql\"># \u8fd9\u91cc\u4e0d\u80fd\u4f7f\u7528where comm =\u6216\u8005\uff01= null\n# \u5728\u6570\u636e\u5e93\u4e2dnull\u4e0d\u80fd\u4f7f\u7528\u7b49\u53f7\u8861\u91cf<\/code><\/pre>\n<h5>6.\u67e5\u8be2\u5de5\u4f5c\u5c97\u4f4d\u662fMANAGER\u5e76\u4e14\u5de5\u8d44\u5927\u4e8e2500\u7684\u5458\u5de5\u4fe1\u606f<\/h5>\n<pre><code class=\"language-mysql\">select * from emp where job=&#039;MANAGER&#039; and sal &gt; 2500;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521230251508.png\" alt=\"image-20210521230251508\" \/><\/p>\n<h5>7. \u67e5\u8be2\u5de5\u4f5c\u5c97\u4f4d\u662f MANAGER\u6216 SALESMAN\u7684\u5458\u5de5<\/h5>\n<pre><code class=\"language-mysql\">select * from emp where job = &#039;MANAGER&#039; or &#039;SALESMAN&#039;;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521230850303.png\" alt=\"image-20210521230850303\" \/><\/p>\n<h5>8. and\u548cor\u7684\u4f18\u5148\u7ea7,and\u548cor\u540c\u65f6\u51fa\u73b0\uff0cand\u7684\u4f18\u5148\u7ea7\u6bd4\u8f83\u9ad8\uff0c\u8981\u4f7for\u5148\u6267\u884c\uff0c\u8981\u4f7f\u7528()\u62ec\u8d77\u6765\u3002<\/h5>\n<pre><code class=\"language-mysql\">select\n *\nfrom \n emp\nwhere\n sal &gt; 2500 and (deptno = 10 or deptno = 20);<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521231636393.png\" alt=\"image-20210521231636393\" \/><\/p>\n<h5>9. in\uff0c\u76f8\u5f53\u4e8e\u591a\u4e2aor\uff0c\u4f46\u4e0d\u662f\u4e00\u4e2a\u533a\u95f4<\/h5>\n<pre><code class=\"language-mysql\"># \u67e5\u8be2\u85aa\u8d44\u662f800\u548c5000\u7684\u5458\u5de5\u4fe1\u606f\nselect\n    *\nfrom\n    emp\nwhere\n    sal\n    in (800,5000);# \u627e\u51fa800\u548c5000<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521232242861.png\" alt=\"image-20210521232242861\" \/><\/p>\n<h5>10. not<\/h5>\n<pre><code class=\"language-mysql\"># not \u53ef\u4ee5\u53d6\u975e\uff0c\u4e3b\u8981\u7528\u4e8eis\u6216\u8005 in\u4e2d\n    is null\n    is not null\n    in\n    not in<\/code><\/pre>\n<h5>11. like<\/h5>\n<pre><code class=\"language-mysql\"># \u6a21\u7cca\u67e5\u8be2\uff0c\u652f\u6301%\u548c\u4e0b\u5212\u7ebf\u5339\u914d\n# \u67e5\u8be2\u540d\u5b57\u4e2d\u5e26\u6709&#039;O&#039;\u7684\nselect ename from emp where ename like &#039;%O%&#039;;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210521235929585.png\" alt=\"image-20210521235929585\" \/><\/p>\n<pre><code class=\"language-mysql\"># \u627e\u51fa\u540d\u5b57\u4ee5&#039;T&#039;\u7ed3\u5c3e\u7684\nselect ename from emp where ename like &#039;%T&#039;;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210522000143852.png\" alt=\"image-20210522000143852\" \/><\/p>\n<pre><code class=\"language-mysql\"># \u627e\u51fa\u540d\u5b57\u4ee5K\u5f00\u59cb\u7684\nselect ename from emp where ename like &#039;K%&#039;;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/img\/image-20210522000404041.png\" alt=\"image-20210522000404041\" \/><\/p>\n<h4>\u6392\u5e8f<\/h4>\n<h5>\u5355\u4e2a\u5b57\u6bb5\u6392\u5e8f<\/h5>\n<pre><code class=\"language-mysql\">mysql&gt; select\n    -&gt;  ename,sal\n    -&gt; from emp\n    -&gt; order by sal;\nselect ename ,sal from emp order by sal; # \u9ed8\u8ba4\u5347\u5e8f\nselect ename ,sal from emp order by sal desc; #\u6307\u5b9a\u964d\u5e8f\nselect ename ,sal from emp order by sal asc; # \u6307\u5b9a\u5347\u5e8f \u9ed8\u8ba4<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/\/imgimage-20211020223309258.png\" alt=\"image-20211020223309258\" \/><\/p>\n<h5>\u591a\u4e2a\u5b57\u6bb5\u6392\u5e8f<\/h5>\n<h6>\u67e5\u8be2\u5458\u5de5\u540d\u5b57\u548c\u85aa\u8d44\uff0c\u8981\u6c42\u6309\u7167\u85aa\u8d44\u6392\u5e8f\uff0c\u5982\u679c\u85aa\u8d44\u4e00\u6837\u7684\u8bdd\uff0c\u518d\u6309\u7167\u540d\u5b57\u5347\u5e8f\u6392\u5217<\/h6>\n<pre><code class=\"language-mysql\">select ename,sal from emp order by sal asc, ename asc;<\/code><\/pre>\n<h6>\u4e86\u89e3\uff1a\u6839\u636e\u5b57\u6bb5\u7684\u4f4d\u7f6e\u4e5f\u53ef\u4ee5\u6392\u5e8f<\/h6>\n<pre><code class=\"language-mysql\">select ename,sal from emp order by 2;\n# \u6309\u7167\u67e5\u8be2\u7ed3\u679c\u7684\u7b2c\u4e8c\u5217sal\u6392\u5e8f\uff0c\u4e0d\u5efa\u8bae\u8fd9\u6837\u5199\uff0c\u5065\u58ee\u6027\u4f4e\uff0c\u56e0\u4e3a\u987a\u5e8f\u53d8\u6362\u4e4b\u540e\u5931\u6548<\/code><\/pre>\n<h6>\u7efc\u5408\u7ec3\u4e60<\/h6>\n<pre><code class=\"language-mysql\"># \u627e\u51fa\u5de5\u8d44\u57281250\u52303000\u4e4b\u95f4\u7684\u5458\u5de5\u4fe1\u606f\uff0c\u8981\u6c42\u6309\u7167\u85aa\u8d44\u964d\u5e8f\u6392\u5217\u3002\nselect * from emp where sal&gt;1250 and sal&lt;3000 order by sal desc;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/rain-1302105611.cos.ap-chengdu.myqcloud.com\/\/imgimage-20211020230117483.png\" alt=\"image-20211020230117483\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL\u5b66\u4e60\u7b14\u8bb0 \u4e00. \u5b89\u88c5\u548c\u914d\u7f6e \u7565\u8fc7\uff0c\u7f51\u7edc\u4e0a\u6cdb\u6ee5\u4e86 \u4e8c. \u57fa\u672c\u4f7f\u7528 \u57fa\u7840\u547d\u4ee4 \u8fdb\u5165mysql\u6570\u636e\u5e93\uff1a m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":3,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mumudlin.com\/index.php\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}