<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>MySQL</anon>
  </categories>
  <description>SQLは本当便利な関数ありますね。 日付の形式を変更したい場合はDATE_FORMAT()さんにおまかせあれ。 SELECT DATE_FORMAT(created, '%Y%m') AS ym, -- yyyymmの形式で表示される COUNT(posts.id) AS count FROM posts GROUP BY DATE_FORMAT(created, '%Y%m'); -- groupingでもつかえるお（^ω^ 色々できそうだが、直近では月でしか使ったことがないので、それをメモしておく。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2015%2F10%2F26%2F023919&quot; title=&quot;【SQL】日付の形式を変えるよ DATE_FORMAT()さん - ITの隊長のブログ&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>http://cdn.mogile.archive.st-hatena.com/v1/image/aipacommander/297789129598967254.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-26 02:39:19</published>
  <title>【SQL】日付の形式を変えるよ DATE_FORMAT()さん</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2015/10/26/023919</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
