<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>true-fly</author_name>
  <author_url>https://blog.hatena.ne.jp/true-fly/</author_url>
  <blog_title>とりゅふの森</blog_title>
  <blog_url>https://www.true-fly.com/</blog_url>
  <categories>
    <anon>BigQuerySQL演習</anon>
    <anon>BigQuery</anon>
  </categories>
  <description>おはようございます、BigQueryのSQL演習シリーズ第一弾の記事です。 BigQuery歴3年超の私が、SQL書いててよく使うなあって書き方を少しずつ紹介していきたいと思っています。 お題 + 答えSQL + 解説の構成です。 今回のお題はこちら！ 100万件の商品に1~100万の連番が割り振られているとします。これをランダムソートしよう 今回のルール BigQueryのSQL1回の実行で算出すること 参照するテーブルはナシ 乱数の発生はRAND()を使う ページスクロールすると答えのSQLと解説が見れます。 BigQueryのSQLを学ぶにはこちらの書籍がおすすめ！分析に特化しているので…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.true-fly.com%2Fentry%2F2021%2F07%2F28%2F080000&quot; title=&quot;【BigQuerySQL演習】100万件のデータをランダムソートしよう - とりゅふの森&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/t/true-fly/20210727/20210727223735.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-28 08:00:00</published>
  <title>【BigQuerySQL演習】100万件のデータをランダムソートしよう</title>
  <type>rich</type>
  <url>https://www.true-fly.com/entry/2021/07/28/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
