{"id":461,"date":"2021-09-28T13:45:21","date_gmt":"2021-09-28T04:45:21","guid":{"rendered":"https:\/\/suzutukiblog.com\/?p=461"},"modified":"2023-01-05T23:46:59","modified_gmt":"2023-01-05T14:46:59","slug":"mysql1","status":"publish","type":"post","link":"https:\/\/suzutukiblog.com\/index.php\/2021\/09\/28\/mysql1\/","title":{"rendered":"MySQL\u306e\u307e\u3068\u3081(\u305d\u306e\uff11MySQL\u306e\u6982\u8981)"},"content":{"rendered":"<h3>1:MySQL\u3068\u306f\uff1f<\/h3>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e<strong>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\uff08RDBMS)<\/strong>\u3067<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3002<\/p>\n<p><strong>MySQL Community Edition<\/strong>\u3092\u7121\u6599\u3067\u5229\u7528\u3067\u304d\u308b<\/p>\n<h3>2:\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u306f\uff1f<\/h3>\n<p>\u691c\u7d22\u3084\u84c4\u7a4d\u304c\u5bb9\u6613\u306b\u3067\u304d\u308b\u3088\u3046\u6574\u7406\u3055\u308c\u305f\u60c5\u5831\u306e\u96c6\u307e\u308a<\/p>\n<p>\u3059\u3079\u3066\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u30c7\u30fc\u30bf\u3092\u6563\u308a\u6271\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u6271\u3046\u624b\u6bb5\u3068\u3057\u3066\u3001\u307b\u307c\u3059\u3079\u3066\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u4f55\u304b\u3057\u3089\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u306e\u3053\u3068\u3092<strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0(DBMS)<\/strong>\u3068\u547c\u3076<\/p>\n<p><!--more--><\/p>\n<h3>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u306a\u7406\u7531<\/h3>\n<p>\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u304b\u3089\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3059\u305f\u3081<\/p>\n<p>\u591a\u4eba\u6570\u3067\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3057\u3066\u5229\u7528\u3059\u308b\u305f\u3081<\/p>\n<p>\u30c7\u30fc\u30bf\u306e\u4fdd\u8b77(\u6c38\u7d9a\u5316)<\/p>\n<h3>3:DBMS\u306e\u7a2e\u985e<\/h3>\n<p><strong>\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(RDB)<\/strong><\/p>\n<p><strong>\u30ad\u30fc\u30fb\u30d0\u30ea\u30e5\u30fc\u578b\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\uff08KVS)<\/strong><\/p>\n<p><strong>XML\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(XMLDB)<\/strong><\/p>\n<p><strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(OODB)<\/strong><\/p>\n<p><strong>MySQL<\/strong>\u306f<strong>RDBMS<\/strong>(\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0)\u306b\u6240\u5c5e\u3059\u308b<\/p>\n<p>RDBMS\u306f\u4ed6\u306b\u3082<strong>MariaDB<\/strong>\u3084<strong>PostgreSQL<\/strong>\u306a\u3069\u304c\u3042\u308b(\u3044\u305a\u308c\u3082\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9)<\/p>\n<h3>4:SQL\u3068\u306f\uff1f<\/h3>\n<p><strong>DB,\u30c6\u30fc\u30d6\u30eb\u3001\u884c<\/strong>\u3084<strong>\u5217<\/strong>\u3092\u6271\u3046\u305f\u3081\u306e\u8a00\u8a9e\u306e\u3053\u3068<\/p>\n<p>SQL\u306e\u3082\u3068\u3068\u306a\u3063\u305f\u3001IBM\u304c\u958b\u767a\u3057\u305f\u8a00\u8a9e\u306e<strong>SEQUEL<\/strong>(Structured English Query Language)\u304c\u540d\u524d\u306e\u7531\u6765\u3068\u3055\u308c\u3066\u3044\u308b<\/p>\n<h3>\u6a19\u6e96SQL\u3068\u3001SQL\u306e\u65b9\u8a00<\/h3>\n<p>\u6a19\u6e96SQL\uff1aISO(\u56fd\u969b\u6a19\u6e96\u5316\u6a5f\u69cb)\u3067\u5b9a\u3081\u3089\u308c\u305fSQL\u306e\u3053\u3068<\/p>\n<p>SQL\u306e\u65b9\u8a00\uff1a\u5404\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u88fd\u54c1\u72ec\u81ea\u306e\u66f8\u304d\u65b9\u306e\u3053\u3068<\/p>\n<h3>6:\u6a19\u6e96\u7684\u306aSQL\u306e\u8a18\u8ff0\u30eb\u30fc\u30eb<\/h3>\n<p><strong>\u5927\u6587\u5b57\u3001\u5c0f\u6587\u5b57<\/strong>\u304c\u533a\u5225\u3055\u308c\u306a\u3044\uff1a\u6df7\u5728\u3059\u308b\u3068\u8aad\u307f\u3065\u3089\u3044\u306e\u3067\u3069\u3061\u3089\u304b\u306b\u7d71\u4e00\u3059\u308b<\/p>\n<p>\u5358\u8a9e\u306f<strong>\u534a\u89d2\u30b9\u30da\u30fc\u30b9<\/strong>\u304b\u3001<strong>\u6539\u884c<\/strong>\u3067\u533a\u5207\u308b\u3002<\/p>\n<p>\u25cb\u3000<code>select * from users;<\/code><\/p>\n<p>\u00d7\u3000<code>select * fromusers;<\/code><\/p>\n<p><strong>\u534a\u89d2<\/strong>\u3067\u66f8\u304f\u3002<strong>\u5168\u89d2<\/strong>\u3067\u66f8\u304f\u3068\u30a8\u30e9\u30fc<\/p>\n<p>\u534a\u89d2<\/p>\n<p>\u25cb\u3000<code>select * from users;<\/code><\/p>\n<p>\u00d7\u3000\uff53\uff45\uff4c\uff45\uff43\uff54\u3000\uff0a\u3000\uff46\uff52\uff4f\uff4d\u3000\uff55\uff53\uff45\uff52\uff53\uff1b<\/p>\n<h3>7:RDBMS\u306e\u57fa\u672c\u7528\u8a9e<\/h3>\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9:<\/strong>\u30c7\u30fc\u30bf\u5168\u3066\u304c\u5165\u3063\u3066\u3044\u308b\u5165\u308c\u7269<\/p>\n<p><strong>\u30c6\u30fc\u30d6\u30eb:<\/strong>\u30a8\u30af\u30bb\u30eb\u306e\u8868\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u7ba1\u7406\u3059\u308busers\u30c6\u30fc\u30d6\u30eb,\u5546\u54c1\u60c5\u5831\u3092\u7ba1\u7406\u3059\u308bproducts\u30c6\u30fc\u30d6\u30eb\u306a\u3069\u3001\u5206\u3051\u3066\u7ba1\u7406\u3059\u308b\u3002<\/p>\n<p><strong>\u884c(\u30ec\u30b3\u30fc\u30c9\u3001\u30ed\u30a6)\uff1a<\/strong>\u6a2a\u306e\u884c\u306e\u3053\u3068(\u30a8\u30af\u30bb\u30eb\u3084\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3068\u540c\u3058)<\/p>\n<p><strong>\u5217(\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u30ab\u30e9\u30e0):<\/strong>\u7e26\u306e\u5217\u306e\u3053\u3068(\u30a8\u30af\u30bb\u30eb\u3084\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3068\u540c\u3058)<\/p>\n<p><strong>\u30af\u30a8\u30ea<\/strong>(Query,\u554f\u3044\u5408\u308f\u305b)<\/p>\n<p>data\u306e\u691c\u7d22\u3084\u66f4\u65b0\u3001\u524a\u9664\u3001\u62bd\u51fa\u306a\u3069\u306e\u8981\u6c42\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u9001\u4fe1\u3059\u308b\u3053\u3068\u3002<\/p>\n<p><a href=\"https:\/\/suzutukiblog.com\/index.php\/2020\/05\/16\/mysql2\/\">\u305d\u306e\uff12\u306b\u7d9a\u304f<\/a><\/p>\n<p><code><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1:MySQL\u3068\u306f\uff1f \u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\uff08RDBMS)\u3067 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3002 MySQL Community Edition\u3092\u7121\u6599\u3067\u5229\u7528\u3067\u304d\u308b 2:\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,27],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-mysql","category-programming-note"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":16,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":4352,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/461\/revisions\/4352"}],"wp:attachment":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}