这是我的代码部分:
String selectQuery = "SELECT * FROM " + TABLE_CONV
+ " WHERE " + KEY_EMAILID + " = " + user_emailid;
尝试使用时查询:
Cursor cursor = db.rawQuery(selectQuery, null);
我得到了:
@gmail
的SQLite错误代码1
答案 0 :(得分:0)
尝试这样..附加'
。它可能会解决您的问题
String selectQuery = "SELECT * FROM " + TABLE_CONV
+ " WHERE " + KEY_EMAILID + " = '" + user_emailid +"'";