{"id":186814,"date":"2024-11-11T09:03:25","date_gmt":"2024-11-11T01:03:25","guid":{"rendered":"https:\/\/server.hk\/cnblog\/186814\/"},"modified":"2024-11-11T09:03:26","modified_gmt":"2024-11-11T01:03:26","slug":"%e6%95%b8%e6%93%9a%e5%ba%ab%e8%aa%b2%e7%a8%8b%e6%80%9d%e8%80%83%ef%bc%9a%e6%89%8e%e5%af%a6%e5%ad%b8%e7%bf%92%e6%96%b9%e6%b3%95%e5%92%8c%e5%af%a6%e8%b8%90%e6%8b%93%e5%b1%95%e6%8a%80%e8%83%bd-%e6%95%b8","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/186814\/","title":{"rendered":"\u6578\u64da\u5eab\u8ab2\u7a0b\u601d\u8003\uff1a\u624e\u5be6\u5b78\u7fd2\u65b9\u6cd5\u548c\u5be6\u8e10\u62d3\u5c55\u6280\u80fd (\u6578\u64da\u5eab\u8ab2\u7a0b\u7e3d\u7d50)"},"content":{"rendered":"<h1 id=\"%e6%95%b8%e6%93%9a%e5%ba%ab%e8%aa%b2%e7%a8%8b%e6%80%9d%e8%80%83%ef%bc%9a%e6%89%8e%e5%af%a6%e5%ad%b8%e7%bf%92%e6%96%b9%e6%b3%95%e5%92%8c%e5%af%a6%e8%b8%90%e6%8b%93%e5%b1%95%e6%8a%80%e8%83%bd-%e6%95%b8-eiLQmLiZQw\">\u6578\u64da\u5eab\u8ab2\u7a0b\u601d\u8003\uff1a\u624e\u5be6\u5b78\u7fd2\u65b9\u6cd5\u548c\u5be6\u8e10\u62d3\u5c55\u6280\u80fd (\u6578\u64da\u5eab\u8ab2\u7a0b\u7e3d\u7d50)<\/h1>\n<p>\u5728\u7576\u4eca\u6578\u64da\u9a45\u52d5\u7684\u4e16\u754c\u4e2d\uff0c\u6578\u64da\u5eab\u6280\u8853\u7684\u5b78\u7fd2\u8b8a\u5f97\u8d8a\u4f86\u8d8a\u91cd\u8981\u3002\u7121\u8ad6\u662f\u4f01\u696d\u9084\u662f\u500b\u4eba\uff0c\u638c\u63e1\u6578\u64da\u5eab\u7684\u77e5\u8b58\u90fd\u80fd\u70ba\u672a\u4f86\u7684\u8077\u696d\u767c\u5c55\u6253\u4e0b\u5805\u5be6\u7684\u57fa\u790e\u3002\u672c\u6587\u5c07\u63a2\u8a0e\u6578\u64da\u5eab\u8ab2\u7a0b\u7684\u5b78\u7fd2\u65b9\u6cd5\u548c\u5be6\u8e10\u6280\u80fd\u7684\u62d3\u5c55\uff0c\u5e6b\u52a9\u5b78\u7fd2\u8005\u66f4\u6709\u6548\u5730\u638c\u63e1\u9019\u4e00\u9818\u57df\u7684\u77e5\u8b58\u3002<\/p>\n<h2 id=\"%e6%95%b8%e6%93%9a%e5%ba%ab%e5%9f%ba%e7%a4%8e%e7%9f%a5%e8%ad%98-eiLQmLiZQw\">\u6578\u64da\u5eab\u57fa\u790e\u77e5\u8b58<\/h2>\n<p>\u5728\u958b\u59cb\u6df1\u5165\u5b78\u7fd2\u6578\u64da\u5eab\u4e4b\u524d\uff0c\u4e86\u89e3\u4e00\u4e9b\u57fa\u672c\u6982\u5ff5\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u6578\u64da\u5eab\u662f\u4e00\u7a2e\u6709\u7d44\u7e54\u7684\u6578\u64da\u96c6\u5408\uff0c\u901a\u5e38\u7528\u65bc\u5b58\u5132\u3001\u7ba1\u7406\u548c\u6aa2\u7d22\u6578\u64da\u3002\u5e38\u898b\u7684\u6578\u64da\u5eab\u985e\u578b\u5305\u62ec\u95dc\u4fc2\u578b\u6578\u64da\u5eab\uff08\u5982 MySQL\u3001PostgreSQL\uff09\u548c\u975e\u95dc\u4fc2\u578b\u6578\u64da\u5eab\uff08\u5982 MongoDB\u3001Cassandra\uff09\u3002<\/p>\n<h3 id=\"%e9%97%9c%e4%bf%82%e5%9e%8b%e6%95%b8%e6%93%9a%e5%ba%ab-eiLQmLiZQw\">\u95dc\u4fc2\u578b\u6578\u64da\u5eab<\/h3>\n<p>\u95dc\u4fc2\u578b\u6578\u64da\u5eab\u4f7f\u7528\u8868\u683c\u4f86\u5b58\u5132\u6578\u64da\uff0c\u4e26\u901a\u904e\u884c\u548c\u5217\u7684\u65b9\u5f0f\u7d44\u7e54\u4fe1\u606f\u3002\u5b78\u7fd2\u8005\u9700\u8981\u638c\u63e1 SQL\uff08\u7d50\u69cb\u5316\u67e5\u8a62\u8a9e\u8a00\uff09\uff0c\u9019\u662f\u8207\u95dc\u4fc2\u578b\u6578\u64da\u5eab\u4ea4\u4e92\u7684\u4e3b\u8981\u8a9e\u8a00\u3002\u4ee5\u4e0b\u662f\u4e00\u500b\u7c21\u55ae\u7684 SQL \u67e5\u8a62\u793a\u4f8b\uff1a<\/p>\n<pre><code>SELECT * FROM users WHERE age &gt; 18;<\/code><\/pre>\n<h3 id=\"%e9%9d%9e%e9%97%9c%e4%bf%82%e5%9e%8b%e6%95%b8%e6%93%9a%e5%ba%ab-eiLQmLiZQw\">\u975e\u95dc\u4fc2\u578b\u6578\u64da\u5eab<\/h3>\n<p>\u975e\u95dc\u4fc2\u578b\u6578\u64da\u5eab\u5247\u4e0d\u4f7f\u7528\u8868\u683c\u7d50\u69cb\uff0c\u9069\u5408\u5b58\u5132\u5927\u91cf\u975e\u7d50\u69cb\u5316\u6578\u64da\u3002\u5b78\u7fd2\u8005\u61c9\u8a72\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 JSON \u683c\u5f0f\u4f86\u5b58\u5132\u548c\u6aa2\u7d22\u6578\u64da\u3002\u4ee5\u4e0b\u662f\u4e00\u500b\u4f7f\u7528 MongoDB \u7684\u793a\u4f8b\uff1a<\/p>\n<pre><code>db.users.find({ age: { $gt: 18 } });<\/code><\/pre>\n<h2 id=\"%e6%89%8e%e5%af%a6%e7%9a%84%e5%ad%b8%e7%bf%92%e6%96%b9%e6%b3%95-eiLQmLiZQw\">\u624e\u5be6\u7684\u5b78\u7fd2\u65b9\u6cd5<\/h2>\n<p>\u5b78\u7fd2\u6578\u64da\u5eab\u6280\u8853\u9700\u8981\u7cfb\u7d71\u7684\u5b78\u7fd2\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6709\u6548\u7684\u5b78\u7fd2\u7b56\u7565\uff1a<\/p>\n<ul>\n<li><strong>\u7406\u8ad6\u8207\u5be6\u8e10\u76f8\u7d50\u5408\uff1a<\/strong>\u5728\u5b78\u7fd2\u7406\u8ad6\u77e5\u8b58\u7684\u540c\u6642\uff0c\u61c9\u8a72\u9032\u884c\u5be6\u969b\u64cd\u4f5c\u3002\u53ef\u4ee5\u901a\u904e\u642d\u5efa\u81ea\u5df1\u7684\u6578\u64da\u5eab\u74b0\u5883\u4f86\u52a0\u6df1\u7406\u89e3\u3002<\/li>\n<li><strong>\u53c3\u52a0\u5728\u7dda\u8ab2\u7a0b\uff1a<\/strong>\u8a31\u591a\u5e73\u53f0\u63d0\u4f9b\u9ad8\u8cea\u91cf\u7684\u6578\u64da\u5eab\u8ab2\u7a0b\uff0c\u5982 Coursera\u3001edX \u548c Udacity\uff0c\u9019\u4e9b\u8ab2\u7a0b\u901a\u5e38\u5305\u62ec\u8996\u983b\u6559\u5b78\u548c\u5be6\u8e10\u9805\u76ee\u3002<\/li>\n<li><strong>\u95b1\u8b80\u76f8\u95dc\u66f8\u7c4d\uff1a<\/strong>\u9078\u64c7\u4e00\u4e9b\u7d93\u5178\u7684\u6578\u64da\u5eab\u66f8\u7c4d\uff0c\u5982\u300aSQL Fundamentals\u300b\u548c\u300aDatabase System Concepts\u300b\uff0c\u9019\u4e9b\u66f8\u7c4d\u80fd\u5920\u63d0\u4f9b\u6df1\u5165\u7684\u7406\u8ad6\u77e5\u8b58\u3002<\/li>\n<li><strong>\u53c3\u52a0\u793e\u5340\u6d3b\u52d5\uff1a<\/strong>\u52a0\u5165\u6578\u64da\u5eab\u76f8\u95dc\u7684\u8ad6\u58c7\u548c\u793e\u5340\uff0c\u8207\u5176\u4ed6\u5b78\u7fd2\u8005\u4ea4\u6d41\u7d93\u9a57\uff0c\u9019\u6a23\u53ef\u4ee5\u7372\u5f97\u66f4\u591a\u7684\u5b78\u7fd2\u8cc7\u6e90\u548c\u652f\u6301\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%af%a6%e8%b8%90%e6%8b%93%e5%b1%95%e6%8a%80%e8%83%bd-eiLQmLiZQw\">\u5be6\u8e10\u62d3\u5c55\u6280\u80fd<\/h2>\n<p>\u9664\u4e86\u7406\u8ad6\u5b78\u7fd2\uff0c\u5be6\u8e10\u662f\u63d0\u5347\u6578\u64da\u5eab\u6280\u80fd\u7684\u95dc\u9375\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8b70\uff1a<\/p>\n<ul>\n<li><strong>\u5efa\u7acb\u500b\u4eba\u9805\u76ee\uff1a<\/strong>\u901a\u904e\u5efa\u7acb\u81ea\u5df1\u7684\u6578\u64da\u5eab\u9805\u76ee\u4f86\u61c9\u7528\u6240\u5b78\u77e5\u8b58\uff0c\u4f8b\u5982\u958b\u767c\u4e00\u500b\u7c21\u55ae\u7684\u7db2\u7d61\u61c9\u7528\uff0c\u4e26\u4f7f\u7528\u6578\u64da\u5eab\u4f86\u5b58\u5132\u7528\u6236\u4fe1\u606f\u3002<\/li>\n<li><strong>\u53c3\u52a0\u958b\u6e90\u9805\u76ee\uff1a<\/strong>\u53c3\u8207\u958b\u6e90\u6578\u64da\u5eab\u9805\u76ee\uff0c\u9019\u4e0d\u50c5\u80fd\u5920\u63d0\u5347\u6280\u8853\u80fd\u529b\uff0c\u9084\u80fd\u5920\u64f4\u5c55\u4eba\u8108\u3002<\/li>\n<li><strong>\u9032\u884c\u6578\u64da\u5206\u6790\uff1a<\/strong>\u5b78\u7fd2\u5982\u4f55\u4f7f\u7528\u6578\u64da\u5eab\u9032\u884c\u6578\u64da\u5206\u6790\uff0c\u9019\u5c0d\u65bc\u7406\u89e3\u6578\u64da\u7684\u50f9\u503c\u81f3\u95dc\u91cd\u8981\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-eiLQmLiZQw\">\u7e3d\u7d50<\/h2>\n<p>\u6578\u64da\u5eab\u6280\u8853\u7684\u5b78\u7fd2\u662f\u4e00\u500b\u6301\u7e8c\u7684\u904e\u7a0b\uff0c\u901a\u904e\u624e\u5be6\u7684\u5b78\u7fd2\u65b9\u6cd5\u548c\u5be6\u8e10\uff0c\u5b78\u7fd2\u8005\u53ef\u4ee5\u6709\u6548\u5730\u63d0\u5347\u81ea\u5df1\u7684\u6280\u80fd\u3002\u7121\u8ad6\u662f\u9078\u64c7\u95dc\u4fc2\u578b\u9084\u662f\u975e\u95dc\u4fc2\u578b\u6578\u64da\u5eab\uff0c\u638c\u63e1\u57fa\u672c\u6982\u5ff5\u548c\u5be6\u8e10\u6280\u5de7\u90fd\u662f\u6210\u529f\u7684\u95dc\u9375\u3002\u5c0d\u65bc\u5e0c\u671b\u5728\u9999\u6e2f\u5c0b\u627e\u9ad8\u6548\u80fd\u7684\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u7684\u7528\u6236\uff0c<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u63d0\u4f9b\u4e86\u9748\u6d3b\u7684\u9078\u64c7\uff0c\u80fd\u5920\u652f\u6301\u5404\u7a2e\u6578\u64da\u5eab\u61c9\u7528\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a2\u7d22\u6578\u64da\u5eab\u8ab2\u7a0b\u7684\u5b78\u7fd2\u65b9\u6cd5\u8207\u5be6\u8e10\uff0c\u63d0\u5347\u6280\u80fd\uff0c\u638c\u63e1\u6578\u64da\u7ba1\u7406\u7684\u6838\u5fc3\u77e5\u8b58\u8207\u61c9\u7528\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-186814","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/186814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=186814"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/186814\/revisions"}],"predecessor-version":[{"id":186815,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/186814\/revisions\/186815"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=186814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=186814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=186814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}