title: how get find serial number between serial range
body: <p>I have to filter serial number set but in the database have a serial range only. how can i get serial range?</p>
  
  <p>Example: This my oracle DB</p>
  
  <pre><code>Agent ID    Date          From_serial     To_serial
  123         12/12/2015     345643145      345643400
  234         11/12/2105     234563423      234563700
  </code></pre>
  
  <p>I have a serial list like this</p>
  
  <pre><code>345643150
  345643151
  </code></pre>
  
  <p>so need to filter this serial in which range</p>