{"version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonokurotamago.hatenablog.com%2Fentry%2F2014%2F03%2F17%2F221524\" title=\" \u3068\u3042\u308bSQL\u306b\u304a\u3051\u308bSQL\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0 LEFT JOIN\u53e5\u3067\u6761\u4ef6\u6307\u5b9a vs WHERE\u53e5\u3067\u6761\u4ef6\u6307\u5b9a - \u6f5c\u4f0f\u30d0\u30b0\u304b\u3089\u306e\u30ed\u30f3\u30b0\u30d5\u30ea\u30fc\u30ba\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://monokurotamago.hatenablog.com/entry/2014/03/17/221524","blog_url":"https://monokurotamago.hatenablog.com/","image_url":null,"height":"190","published":"2014-03-17 22:15:24","width":"100%","categories":["oracle"],"blog_title":"\u6f5c\u4f0f\u30d0\u30b0\u304b\u3089\u306e\u30ed\u30f3\u30b0\u30d5\u30ea\u30fc\u30ba","description":"\u62bd\u51fa\u3057\u305f\u3044\u60c5\u5831 \u30fbA_TBL\u306b\u3042\u3063\u3066\u3001B_TBL\u306eCODE\u304c'XXX'\u3067\u3042\u308b\u30ec\u30b3\u30fc\u30c9 \u30fbA_TBL\u306b\u3042\u3063\u3066\u3001B_TBL\u306b\u306f\u306a\u3044\u30ec\u30b3\u30fc\u30c9 \u62bd\u51fa\u3057\u305f\u304f\u306a\u3044\u60c5\u5831 \u30fbA_TBL\u306b\u3042\u3063\u3066\u3001B_TBL\u306b\u3082\u3042\u308b\u304cCODE\u304c'XXX'\u3067\u306f\u306a\u3044\u30ec\u30b3\u30fc\u30c9 (1) select * from A_TBL left join B_TBL on A_TBL.KEY=B_TBL.KEY where (B_TBL.CODE='XXX' or B_TBL.CODE is null) (2) select * from A_TBL left join B_TBL on A_TBL.KEY=B_TBL.KEY and B_TBL\u2026","provider_name":"Hatena Blog","author_name":"monokurotamago","author_url":"https://blog.hatena.ne.jp/monokurotamago/","title":" \u3068\u3042\u308bSQL\u306b\u304a\u3051\u308bSQL\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0 LEFT JOIN\u53e5\u3067\u6761\u4ef6\u6307\u5b9a vs WHERE\u53e5\u3067\u6761\u4ef6\u6307\u5b9a","provider_url":"https://hatena.blog"}