I'm hitting a wall in an android SQL query, this is what I have so far:
mDb.query(false, DATABASE_TABLE, new String[] {KEY_ROWID, KEY_ROWONE, KEY_ROWTWO, KEY_ROWTHREE, KEY_ROWFOUR, KEY_ROWFIVE}, KEY_ROWONE +" LIKE '?%'", new String[] { letter }, null, null, null, null);
Basically, I want the query to return all the rows in the table where KEY_ROWONE starts with the variable letter (a string containing one letter).
I get a force close when I'm running the code, and I'm really puzzled.
I promise to tick the best answer!