<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Sql</anon>
  </categories>
  <description>ユーザーテーブルと、そのユーザーが好きなプログラミング言語というテーブルがあるとします。 ユーザーテーブル(UserTable) id name 1 山田 2 村上 3 中村 好きなプログラミング言語テーブル(FavLangTable) id user_id lang 1 1 Python 2 1 PHP 3 2 TypeScript 4 2 C# 5 2 Java 6 3 TypeScript INとEXISTSの使い分け 結合先のレコードを全て欲しい場合は、EXISTS。そうでない場合は、INを使う。 TypeScriptが好きなユーザーを引いてくるSQLをINで書くとこうなる。 SELE…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2022%2F07%2F26%2F101447&quot; title=&quot;SQLのINとEXISTSの違い - Life is Really Short, Have Your Life!!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-26 10:14:47</published>
  <title>SQLのINとEXISTSの違い</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2022/07/26/101447</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
