<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oinusama</author_name>
  <author_url>https://blog.hatena.ne.jp/oinusama/</author_url>
  <blog_title>おもしろ日記パワー</blog_title>
  <blog_url>https://oinusama.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>SQL</anon>
  </categories>
  <description>クロス集計とか言っておきながらCOUNT()は使わない。 place：：場所テーブル id lat：：緯度 lng：：経度 name：：名称 comment：：コメントテーブル id：： id__place：：関連するplaceテーブルのID body：：コメント本文 wannago_or_beenthere：：w(行きたい) | b(行ったことがある) placeテーブルから1レコード取得しつつ、『行きたいコメント』と『行ったことあるコメント』の数も取得する SELECT place.*, SUM(CASE WHEN 'w' = comment.wannago_or_beenthere TH…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinusama.hatenadiary.org%2Fentry%2F20110825%2Fp1&quot; title=&quot;クロス集計(複数のカウントを取る) - おもしろ日記パワー&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>2011-08-25 00:00:00</published>
  <title>クロス集計(複数のカウントを取る)</title>
  <type>rich</type>
  <url>https://oinusama.hatenadiary.org/entry/20110825/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
