title: Database ResultSet get String/Integer with SELECT
body: <p>I need to know what the number X needs to be in order to receive the data properly.</p>
  
  <p>Example code :</p>
  
  <pre><code>Statement sta = (connection object).createStatement();
  
  sta.executeQuery("SELECT 'points' FROM TABLEX WHERE 'player'='" + player_name + "'").getString(X); ///HERE
  </code></pre>