title: Why does my SQL while(set.next()) skips the first element?
body: <p>I execute:</p>
  
  
  
  <pre><code>select * from table_name order by column desc;
  </code></pre>
  
  <p>And I want to go through the items sequentially. I got the <code>ResultSet</code> from that and did:</p>
  
  <pre><code>while(set.next()) {
      // processing code
  }
  </code></pre>
  
  <p>Unfortunately, that skips the very first element. What's the best way to iterate through the entire <code>ResultSet</code> and include the very first element?</p>