<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taiga006</author_name>
  <author_url>https://blog.hatena.ne.jp/taiga006/</author_url>
  <blog_title>Continue(s)</blog_title>
  <blog_url>https://taiga.hatenadiary.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>チームメンバーの書いたクエリで見覚えのない関数が使われいたので調査。 MySQL :: MySQL 5.6 リファレンスマニュアル :: 12.7 日付および時間関数 EXTRACT関数を使うとDATE値の結果から一部を抽出できる。 よく見るDATE_FORMAT関数を使うより文字列を解釈せずに必要な部分を抽出できるため早いらしい。 mysql&gt; SELECT EXTRACT(HOUR_MINUTE FROM now()); +---------------------------------+ | EXTRACT(HOUR_MINUTE FROM now()) | +------------…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiga.hatenadiary.com%2Fentry%2F2018%2F04%2F12%2F001130&quot; title=&quot;日付・時間の文字列操作にはDATE_FORMATよりEXTRACTのほうが便利そう。 - Continue(s)&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>2018-04-12 00:11:30</published>
  <title>日付・時間の文字列操作にはDATE_FORMATよりEXTRACTのほうが便利そう。</title>
  <type>rich</type>
  <url>https://taiga.hatenadiary.com/entry/2018/04/12/001130</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
