<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aquarickn</author_name>
  <author_url>https://blog.hatena.ne.jp/aquarickn/</author_url>
  <blog_title>DailyDiaryCron</blog_title>
  <blog_url>https://aquari.hatenablog.jp/</blog_url>
  <categories>
    <anon>SQL</anon>
  </categories>
  <description>日の列があれば、継続日数 を動的に割り出したい。 データはだいたいデータベース内に入っている為、SQLで出したい。どうやる？を書きました。 あんまりどこにも書いてないんだよねぇ。ほぼSQLパズル。 ※ Redshiftを対象としています。 元テーブルと参考データ create create table continued ( date Date ); insert into continued values ('2017-01-01'),('2017-01-02'),('2017-01-03'),('2017-01-05'), ('2017-01-06'),('2017-01-07'), ('…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faquari.hatenablog.jp%2Fentry%2F2018%2F05%2F21%2F125226&quot; title=&quot;日付の羅列からSQLで継続日数を割り出してみた - DailyDiaryCron&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-05-21 12:52:26</published>
  <title>日付の羅列からSQLで継続日数を割り出してみた</title>
  <type>rich</type>
  <url>https://aquari.hatenablog.jp/entry/2018/05/21/125226</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
