<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>japanrock_pg</author_name>
  <author_url>https://blog.hatena.ne.jp/japanrock_pg/</author_url>
  <blog_title>基本へ帰ろう</blog_title>
  <blog_url>https://japanrock-pg.hatenablog.com/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>mysql</anon>
  </categories>
  <description>what MySQLで、日付の一部を抽出して月日だけを見てソートしたい。 例 以下のデータは、hogeテーブルのbirthdayカラムに保存されている。hogeテーブル id birthday 1 1985-05-02 2 1980-05-03 3 1979-05-01 4 1981-03-15 上記をhogeテーブル id birthday 3 1979-05-01 1 1985-05-02 2 1980-05-03 このように、５月の中で新しい順にソートして、出力したい。 結論 SELECT *,MONTH(birthday)+DAY(birthday) FROM hoge where M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjapanrock-pg.hatenablog.com%2Fentry%2F20080513%2F1210663527&quot; title=&quot;MySQLで、日付の一部を抽出して、月日だけを見てソートしたい。 - 基本へ帰ろう&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>2008-05-13 16:25:27</published>
  <title>MySQLで、日付の一部を抽出して、月日だけを見てソートしたい。</title>
  <type>rich</type>
  <url>https://japanrock-pg.hatenablog.com/entry/20080513/1210663527</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
