<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hit10231023</author_name>
  <author_url>https://blog.hatena.ne.jp/hit10231023/</author_url>
  <blog_title>Database JUNKY</blog_title>
  <blog_url>https://hit.hateblo.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>SQL</anon>
    <anon>クエリー</anon>
    <anon>倒置</anon>
    <anon>case分</anon>
  </categories>
  <description>かなり無理やりだけど、集計の結果を横倒しで表示するサンプルSQLです。 かなり、無理やりですが笑 こんなデータを。。。 +------------+------+ | wdate | cnt | +------------+------+ | 2014-01-21 | 1 | | 2014-01-22 | 20 | | 2014-01-23 | 10 | | 2014-01-24 | 4 | | 2014-01-25 | 15 | | 2014-01-26 | 18 | | 2014-01-27 | 5 | | 2014-01-28 | 2 | このような結果にしたい +------+----…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhit.hateblo.jp%2Fentry%2FMYSQL%2FSQL%2FCASE_SQL&quot; title=&quot;MySQL 集計結果を横倒しで出すSQL - Database JUNKY&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/h/hit10231023/20180309/20180309104332.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-04-19 17:01:44</published>
  <title>MySQL 集計結果を横倒しで出すSQL</title>
  <type>rich</type>
  <url>https://hit.hateblo.jp/entry/MYSQL/SQL/CASE_SQL</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
