title: select query in sqlite android
body: <pre><code>String temp_address="nothing";
      try
      {
          String selectQuery = "SELECT lastchapter FROM Bookdetails INTO"+temp_address+"WHERE bookpath=?";
          db.execSQL(selectQuery, new String[] { fileName });
          System.out.println(temp_address+" result of select Query");
      }
  
      catch(Exception e)
      {
          System.out.println(e+" is the error here");
  
      }
      finally
      {
          db.close();
      }
  </code></pre>
  
  <p>Logcat</p>
  
  <pre><code>android.database.sqlite.SQLiteException: near "bookpath": syntax error: , while compiling: SELECT lastchapter FROM Bookdetails INTOnothingWHERE bookpath=?
  </code></pre>
  
  <p>i just want to take the result of the above query so that the string stored in lastchapter is available in temp_address
  please help</p>
  
  <p>i am new to android sqlite database please help</p>