<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gonsuke777</author_name>
  <author_url>https://blog.hatena.ne.jp/gonsuke777/</author_url>
  <blog_title>ねら～ITエンジニア雑記</blog_title>
  <blog_url>https://gonsuke777.hatenablog.com/</blog_url>
  <categories>
    <anon>Database</anon>
    <anon>Oracle</anon>
  </categories>
  <description>1. やりたい事 2. 順列を生成するSQL 3. SQLの解説 4. 参考サイト 1. やりたい事 表題の通り、再帰WITH句で下記のような数値の順列(重複無し)を生成してみます。 1 ... 1 1, 2 ... 12, 21 1, 2, 3 ... 123, 132, 213, 231, 312, 321 ： nPr の公式で n = r の順列となります。使用するのは Oracle Database で ちょっとした検証だったので Live SQL のサイトでガチャガチャと検証彡(ﾟ)(ﾟ) Oracle Live SQL https://livesql.oracle.com/ 2. …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgonsuke777.hatenablog.com%2Fentry%2F2021%2F05%2F05%2F184336&quot; title=&quot;SQL の再帰WITH句で nPr(n = r)の1桁数値順列を生成してみる。(Oracle Database) - ねら～ITエンジニア雑記&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://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/110066/222f1cfa-7a77-1edf-945e-e815c687f495.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-05 18:43:36</published>
  <title>SQL の再帰WITH句で nPr(n = r)の1桁数値順列を生成してみる。(Oracle Database)</title>
  <type>rich</type>
  <url>https://gonsuke777.hatenablog.com/entry/2021/05/05/184336</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
