{"description":"\u6614\u3084\u3063\u305f\u3051\u3069\u3001\u3046\u308d\u899a\u3048\u3060\u3063\u305f\u306e\u3067\u4eca\u56de\u304d\u3061\u3093\u3068\u6574\u7406\u3057\u3066\u307f\u308b\u3002 \u7d50\u5408\u306b\u306f\u5927\u304d\u304f\u5206\u3051\u30662\u7a2e\u985e\u3002\u5185\u90e8\u7d50\u5408(INNER JOIN)\u3068\u5916\u90e8\u7d50\u5408(OUTER JOIN)\u304c\u3042\u308b\u3002 \u5185\u90e8\u7d50\u5408 \u7d50\u5408\u6761\u4ef6\u306b\u6307\u5b9a\u3057\u305fid\u304c\u4e21\u65b9\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u306e\u307f\u7d50\u679c\u30bb\u30c3\u30c8\u306b\u542b\u3081\u308b SQL\u69cb\u6587\u306fINNER JOIN \u4f8b\uff09 select a.user_id, b.to_id, b.mail_body from user_data a INNER JOIN mail_data b on a.user_id=b.from_id; user_data\u3068mail_data\u3092\u7d50\u5408\u3055\u305b\u3001\u9001\u4fe1\u5c65\u6b74\u3092\u53d6\u5f97\u3059\u308bSQL\u3002 \u5916\u90e8\u7d50\u5408 \u7d50\u5408\u6761\u4ef6\u306b\u6307\u5b9a\u3057\u2026","author_name":"kotaroito2002","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kotaroito2002/","title":"\u7d50\u5408(JOIN)","url":"https://kotaroito.hatenablog.com/entry/20090924/1253801527","blog_url":"https://kotaroito.hatenablog.com/","provider_name":"Hatena Blog","published":"2009-09-24 23:12:07","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkotaroito.hatenablog.com%2Fentry%2F20090924%2F1253801527\" title=\"\u7d50\u5408(JOIN) - kotaroito&#39;s notes\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["sql"],"blog_title":"kotaroito's notes","height":"190","version":"1.0","image_url":null}