{"id":83805,"date":"2020-05-08T09:54:44","date_gmt":"2020-05-08T01:54:44","guid":{"rendered":"http:\/\/4563.org\/?p=83805"},"modified":"2020-05-08T09:54:44","modified_gmt":"2020-05-08T01:54:44","slug":"mysql-%e5%88%9b%e5%bb%ba%e5%ae%8c%e8%a1%a8%ef%bc%8c%e6%95%b4%e7%90%86%e5%ae%8c%e5%85%b3%e7%b3%bb%e5%90%8e%e6%80%8e%e4%b9%88%e7%94%a8%e5%95%8a%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=83805","title":{"rendered":"MySQL \u521b\u5efa\u5b8c\u8868\uff0c\u6574\u7406\u5b8c\u5173\u7cfb\u540e\u600e\u4e48\u7528\u554a\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  MySQL \u521b\u5efa\u5b8c\u8868\uff0c\u6574\u7406\u5b8c\u5173\u7cfb\u540e\u600e\u4e48\u7528\u554a\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : emisora <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5c0f\u767d\u521d\u5b66\u3002\u6709\u4e9b\u6982\u5ff5\u641e\u4e0d\u6e05\u695a\u3002<\/p>\n<h2>\u4e4b\u524d\u7528 excel \u81ea\u5e26\u7684\u6570\u636e\u6a21\u578b\uff1a<\/h2>\n<ol>\n<li>\u5bfc\u5165\u8868<\/li>\n<li>excel \u5185\u521b\u5efa\u597d\u5173\u7cfb\u56fe<\/li>\n<li>\u76f4\u63a5\u5c31\u53ef\u4ee5\u7528\u8f6c\u5230 pivot \u4e2d\u8fdb\u884c\u76f8\u5173\u5206\u6790\u3002\u53ef\u4ee5\u76f4\u63a5\u5206\u6790\u591a\u4e2a\u8868\u683c\u4e4b\u95f4\u7684\u5173\u7cfb\uff08\u56e0\u4e3a\u5173\u7cfb\u5728\u7b2c\u4e8c\u6b65\u4e2d\u5df2\u7ecf\u5173\u8054\u4e0a\u4e86\u3002\uff09<\/li>\n<\/ol>\n<h2>MySQL \u4e2d\u6700\u7ec8\u4f7f\u7528\u6570\u636e\u7684\u573a\u666f\u662f\u54ea\u91cc\uff1f\uff1f\uff1f<\/h2>\n<ol>\n<li>\u5bfc\u5165\u8868\uff08\u6216\u8005\u521b\u5efa\u597d\u6570\u636e\u8868\uff09<\/li>\n<li>\u5173\u8054\u597d ER \u56fe\uff08\u8fd9\u91cc\u662f\u4e0d\u662f\u5c31\u662f\u4e0a\u9762\u6211\u8bf4\u7684 excel \u8868\u683c\u7684\u5173\u7cfb\u56fe\uff1f\uff09<\/li>\n<li>\u5982\u4f55\u4f7f\u7528\uff1f\u56e0\u4e3a\u6211\u770b MySQL workbench \u4e2d\u5e76\u6ca1\u6709 pivot table \u7684\u529f\u80fd\u554a\u3002 \u90a3\u6211\u600e\u4e48\u80fd\u50cf excel \u4e2d\u4e00\u6837\u8fdb\u884c\u76f8\u5173\u591a\u4e2a\u5173\u7cfb\u8868\u683c\u7684\u6570\u636e\u5206\u6790\u5462\uff1f<\/li>\n<\/ol>\n<p>\u7b2c\u4e00\u6b65\u7b2c\u4e8c\u6b65\u6211\u7406\u89e3\u7684\u5c31\u662f\u8ddf\u4e4b\u524d excel \u7684\u64cd\u4f5c\u4e00\u6837\uff0c\u4f46\u662f\u7b2c\u4e09\u90e8\u5e94\u7528\u4e0a\u4e0d\u77e5\u63a5\u4e0b\u6765\u8981\u5982\u4f55\u5e94\u7528\uff0c\u8fd8\u662f\u6211\u7406\u89e3\u672c\u8eab\u6709\u8bef\u5462\uff1f\u8c22\u8c22\uff01<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1532114\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : renmu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SQL \u8bed\u53e5\uff0c\u7528 join                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1532115\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : emisora <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @renmu \u554a\uff1f \u5982\u679c\u7528 sql \u8bed\u53e5\uff0c\u90a3\u6211\u7b2c\u4e8c\u90e8\u4e0d\u753b\u5173\u7cfb\u56fe\u6211\u4e5f\u53ef\u4ee5\u7528\u8bed\u53e5\u9009\u53d6\u76f8\u5173\u6570\u636e\u54c7\u3002 \u90a3 MySQL \u8fd9\u4e2a\u7b2c\u4e8c\u6b65 ER \u56fe\u7684\u610f\u4e49\u662f\u5565\uff0c\u8fd8\u6ca1 Excel \u7b2c\u4e8c\u6b65\u7684\u4f5c\u7528\u5927\uff1f Excel \u7b2c\u4e8c\u90e8\u8fdb\u884c\u5b8c\u4e86\u5c31\u53ef\u4ee5\u76f4\u63a5\u7528\u7b2c\u4e09\u6b65\u8fdb\u884c\u5206\u6790\u5c55\u793a\u4e86\u3002<br \/>\u6211\u7406\u89e3\u7684\u5bf9\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1532116\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \uff08 er \u56fe\u4e0d\u662f\u671f\u672b\u8003\u8bd5\u624d\u753b\u7684\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>MySQL \u521b\u5efa\u5b8c\u8868\uff0c\u6574\u7406\u5b8c\u5173\u7cfb\u540e&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/83805"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83805"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/83805\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83805"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}