<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>web-0127</author_name>
  <author_url>https://blog.hatena.ne.jp/web-0127/</author_url>
  <blog_title>web-0127のブログ</blog_title>
  <blog_url>https://nqal.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>LEFT JOIN、RIGHT JOIN - 外部結合 リレーションを張れば複数のテーブルからデータを取り出すことができますが、取り出せないデータもあります その場合は、テーブルの結合の方法を変えることで、片方のテーブルには存在しないデータを取り出し表示させることも可能です 値が０のデータは表示されない SELECT i . item_name , SUM( c . count ) FROM my_items i , carts c WHERE i . id=c . item_id GROUP BY c . item_id; この時点で、売上のない「ブルーベリー」は表示されません。 このことを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnqal.hatenablog.com%2Fentry%2F20130928%2Fp1&quot; title=&quot;SQLを使う - 応用（4） - web-0127のブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/w/web-css-design/20130923/20130923214121.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-09-28 00:00:00</published>
  <title>SQLを使う - 応用（4）</title>
  <type>rich</type>
  <url>https://nqal.hatenablog.com/entry/20130928/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
