title: How can I create "recursive sql"
body: <p>I want to make "link"</p>
  
  <p>for Example, I have a 5 posts (id: "1", id: "2", id: "3", id: "4", id: "5")</p>
  
  <p>and they have a sequence </p>
  
  <blockquote>
    <p>{id:"1", nextId:"2"}, <br /> {id:"2", nextId:"4"} , <br /> {id:"3",
    nextId:"0"}, <br /> {id:"4", nextId:"3"}, <br /> {id:"5", nextId:"0"},
    <br /></p>
  </blockquote>
  
  <p>when I search from "1", I got a result : {id:"1"}, {id:"2"}, {id:"4"}, {id:"3"}
  when I search from "5", I got a result : {id:"5"}</p>
  
  <p>How can I find All start with {id:"1"} in ANSI SQL?</p>
  
  <pre><code>select s.id, s.nextId from sample s
  join sample ns on ns.id = s.nextId
  </code></pre>
  
  <p>It makes from first node to all.</p>
  
  <p>I want to start "{some id}" and I want to use "limit 10"</p>
  
  <p>help me! </p>