{"version":"1.0","published":"2018-02-08 19:09:34","author_url":"https://blog.hatena.ne.jp/tmg1998/","categories":["SQL","SQL Server"],"author_name":"tmg1998","image_url":null,"url":"https://tmg0525.hatenadiary.jp/entry/2018/02/08/190934","width":"100%","title":"\u7247\u65b9\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5b58\u5728\u3057\u3066\u3001\u3082\u3046\u7247\u65b9\u306b\u306f\u306a\u3044\u30c7\u30fc\u30bf\u3092\u62bd\u51fa","provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2018%2F02%2F08%2F190934\" title=\"\u7247\u65b9\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5b58\u5728\u3057\u3066\u3001\u3082\u3046\u7247\u65b9\u306b\u306f\u306a\u3044\u30c7\u30fc\u30bf\u3092\u62bd\u51fa - TIL\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://tmg0525.hatenadiary.jp/","height":"190","provider_name":"Hatena Blog","blog_title":"TIL","description":"OUTER JOIN \u3092\u4f7f\u3044\u3001WHERE \u3067 NULL\u306e\u3082\u306e\u3092\u62bd\u51fa\u3059\u308b \u4f8b\uff09A\u30c6\u30fc\u30d6\u30eb\u306b\u5b58\u5728\u3057\u3066\u3001B\u30c6\u30fc\u30d6\u30eb\u306b\u5b58\u5728\u3057\u306a\u3044\u30c7\u30fc\u30bf\u306e\u62bd\u51fa SELECT * FROM A\u30c6\u30fc\u30d6\u30eb LEFT OUTER JOIN B\u30c6\u30fc\u30d6\u30eb ON A\u30c6\u30fc\u30d6\u30eb.\u30ad\u30fc = B\u30c6\u30fc\u30d6\u30eb.\u30ad\u30fc WHERE B\u30c6\u30fc\u30d6\u30eb.\u30ad\u30fc IS NULL \u53c2\u8003\u6587\u732e SQL\u3067\u3001\u8907\u6570\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u4ed6\u65b9\u306b\u7121\u3044(\u5b58\u5728\u3057\u306a\u3044)\u30ec\u30b3\u30fc\u30c9\u3092\u62bd\u51fa\u3059\u308b | \u3071\u30fc\u304f\u3093 plus idea"}