<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>IT7C</author_name>
  <author_url>https://blog.hatena.ne.jp/IT7C/</author_url>
  <blog_title>イノベートな非日常</blog_title>
  <blog_url>https://it7c.hatenadiary.org/</blog_url>
  <categories>
    <anon>myql</anon>
  </categories>
  <description>さらに合計と平均を別々に出してみます。 平均用のUNION ALLが1つ増えています。 平均を出すために@countで行数を足しこんでいます。 SELECT '00000/00/00' `日付`, 0 `インプレッション数`, 0 `クリック数`, 0 `アクション数`, 0.00 `クリック率`, 0.00 `コンバージョン率`, 0 `収益` FROM DUAL WHERE @imp:=0+@click:=0+@action:=0+@revenue:=0+@count:=0 UNION ALL SELECT date_format(`report_date`,'%Y年%m月%d日') , …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fit7c.hatenadiary.org%2Fentry%2F20111224%2F1324727301&quot; title=&quot; 裏MySQL ユーザー変数を使って合計と平均も同時に計算する  その3 - イノベートな非日常&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-12-24 20:48:21</published>
  <title> 裏MySQL ユーザー変数を使って合計と平均も同時に計算する  その3</title>
  <type>rich</type>
  <url>https://it7c.hatenadiary.org/entry/20111224/1324727301</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
