<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuronekopunk</author_name>
  <author_url>https://blog.hatena.ne.jp/kuronekopunk/</author_url>
  <blog_title>ノンカフェインであなたにやさしい</blog_title>
  <blog_url>https://akinobu.net/</blog_url>
  <categories>
  </categories>
  <description>rowデータで日や月に歯抜けがある場合、 group by month などやっても連番にならない可能性があります。 そこで日次、月次のマスターデータを作りそこに紐づける方法をまとめます。 日次のマスターデータを作る SELECT day FROM UNNEST( GENERATE_DATE_ARRAY(DATE('2022-01-01'), DATE('2022-01-31'), INTERVAL 1 DAY) ) as day 月次のマスターデータを作る INTERVAL を変えるだけで簡単に作れます。 SELECT month FROM UNNEST( GENERATE_DATE_ARR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakinobu.net%2Fentry%2F2022%2F08%2F19%2F224152&quot; title=&quot;BigQueryで日次、月次のマスターデータを作る - ノンカフェインであなたにやさしい&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kuronekopunk/20220819/20220819224034.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-19 22:41:52</published>
  <title>BigQueryで日次、月次のマスターデータを作る</title>
  <type>rich</type>
  <url>https://akinobu.net/entry/2022/08/19/224152</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
