title: Select all where a range of date is in a range of date
body: <pre><code>_______________________________________
  |item    |created       |expiry       |
  _______________________________________
  |A       |01/01/2000    |01/02/2000   |
  |B       |01/04/2000    |01/06/2000   |
  |C       |01/05/2000    |01/11/2000   |
  |D       |01/02/2000    |01/05/2000   |
  |E       |01/06/2000    |01/07/2000   |
  </code></pre>
  
  <p>what I wanted is to select all where the values between the created date and expiry date that is between the inputted start_range and end_range.</p>
  
  <p>eg.</p>
  
  <pre><code>start_range: 01/03/2000
  end_range:   01/05/2000
  </code></pre>
  
  <p>the range above will have the values </p>
  
  <pre><code>01/03/2000
  01/04/2000 
  01/05/2000
  </code></pre>
  
  <p>the output would be like:</p>
  
  <pre><code>_______________________________________
  |item    |created       |expiry       |
  _______________________________________
  |B       |01/04/2000    |01/06/2000   |
  |C       |01/05/2000    |01/11/2000   |
  |D       |01/02/2000    |01/05/2000   |
  </code></pre>
  
  <p>A and E is not included because the dates between them is not in the dates between the start and end ranges.</p>