<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>SQL</anon>
    <anon>mybatis</anon>
  </categories>
  <description>先日の例、 PostgreSQL の再帰SQL で要素の連結結果を求める。 - Oboe吹きプログラマの黙示録 テーブル名：division id parent_id name 1 null A 2 1 B 3 2 C 4 2 D ここから、連結文字列の結果、id と name &quot;1&quot; &quot;1,2&quot; &quot;1,2,3&quot; &quot;1,2,4&quot;&quot;A&quot; &quot;A,B&quot; &quot;A,B,C&quot; &quot;A,B,D&quot;と、配列としての結果も求めるＳＱＬにします。 [1] [1,2] [1,2,3] [1,2,4][&quot;A&quot;] [&quot;A&quot;, &quot;B&quot;] [&quot;A&quot;, &quot;B&quot;, &quot;C&quot;] [&quot;A&quot;, &quot;B&quot;, &quot;D&quot;]再帰ＳＱＬ WITH REC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2019%2F03%2F14%2F151119&quot; title=&quot;PostgreSQL の再帰SQL→Array → mybatis で取得 - Oboe吹きプログラマの黙示録&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-14 15:11:19</published>
  <title>PostgreSQL の再帰SQL→Array → mybatis で取得</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2019/03/14/151119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
