I am trying to get some data from user profile, but it doesn\'t find the column. I already check space between every query and it seems nothing wrong. Till now i can\'t see the
In SQL, string literals must be quoted.
However, to avoid formatting problems like this (and SQL injection attacks), use parameters instead:
Cursor c = db.rawQuery("SELECT * FROM " + TABLE_PROFILE + " WHERE " + KEY_USER_EMAIL + " = ?", new String[]{ username });