seleccione consulta en sqlite android
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();
}
Logcat
android.database.sqlite.SQLiteException: near "bookpath": syntax error: , while compiling: SELECT lastchapter FROM Bookdetails INTOnothingWHERE bookpath=?
solo quiero tomar el resultado de la consulta anterior para que la cadena almacenada en el último capítulo esté disponible en temp_address, por favor ayuda
Soy nuevo en la base de datos sqlite de Android por favor ayuda