title: R Returns Wrong Minimum Value
body: <p>I'm using a SQLite database with approximately 1.2 million records.  When I use SQLite, </p>
  
  <pre><code>select min(borrowerCreditScore) from acquisitions;
  </code></pre>
  
  <p>I get a minimum of 350.  I think that is correct.</p>
  
  <p>When I use R</p>
  
  <pre><code>range(dbGetQuery(fnma, "SELECT borrowerCreditScore from acquisitions"))
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>[1]   0 850
  </code></pre>
  
  <p>the minimum of 0 is not correct, but the max of 850 is correct.</p>
  
  <p>I duplicated the error with describe and summary with the same result.  I also tried</p>
  
  <pre><code>dbGetQuery(fnma, "SELECT COUNT(borrowerCreditScore) from acquisitions where borrowerCreditScore &lt; 300")
  </code></pre>
  
  <p>and got 0 records, which is correct.  </p>
  
  <p>Various queries in SQLite return what appear to be correct answers.</p>