<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuizo</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuizo/</author_url>
  <blog_title>なからなLife</blog_title>
  <blog_url>https://atsuizo.hatenadiary.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>MySQL Advent Calendar 2020 - Qiita の4日目の記事です。 昨日の記事 MySQLとRAND関数の挙動の整理 その1 - なからなLife の続きです。よって、前提条件も同じで MySQL 5.7.32 (エビデンスはこちらで取った） MySQL 8.0.22 CentOS7 on VirtualBox での挙動です。 MySQLでテーブルからランダムにn件取り出したい：n=1のとき test_seqテーブルは「col_id integer」で欠番がない列なので、これを使えば、n=1は「ORDER BY RAND()」ではない方法で１件取り出しが出来ます。以下の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuizo.hatenadiary.jp%2Fentry%2F2020%2F12%2F04%2F090000&quot; title=&quot;MySQLとRAND関数の挙動の整理 その2 - なからなLife&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/51li6EcTU+L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-04 09:00:00</published>
  <title>MySQLとRAND関数の挙動の整理 その2</title>
  <type>rich</type>
  <url>https://atsuizo.hatenadiary.jp/entry/2020/12/04/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
