<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gotto50105010</author_name>
  <author_url>https://blog.hatena.ne.jp/gotto50105010/</author_url>
  <blog_title>ちょこっとPython</blog_title>
  <blog_url>https://gotto50105010.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>BigQueryには、データ加工のために便利な関数がたくさん用意されています。 今回は、複数行にまたがる文字列の加工に便利なSTRING_AGGという関数を紹介します。 STRING_AGGにできること 以下のように、ユーザーが購入した果物が格納されたテーブルがあります。 ユーザー 果物 A りんご A バナナ A いちご B バナナ B さくらんぼ このテーブルから、購入した果物をユーザー単位でまとめて、以下のように集計したいときにSTRING_AGGを使います。 ユーザー 果物 A りんご,バナナ,いちご B バナナ,さんくらんぼ STRING_AGGの書き方 ユーザー単位に購入した果物を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgotto50105010.hatenablog.com%2Fentry%2F2020%2F03%2F28%2F105046&quot; title=&quot;【BigQuery】string_aggの使い方 - ちょこっとPython&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://m.media-amazon.com/images/I/61D0XQc0fwL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-28 10:50:46</published>
  <title>【BigQuery】string_aggの使い方</title>
  <type>rich</type>
  <url>https://gotto50105010.hatenablog.com/entry/2020/03/28/105046</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
