background_color: *Color(0.5, 1, 0.6, mode='hsv').rgba
查询有什么问题?
答案 0 :(得分:1)
Sql语法错误。顺序应该在条件之后。
以下是更正的查询。
mCursor = db.rawQuery("SELECT * FROM " + DataBase.TABLE_NAME
+ " WHERE " + KEY_YEAR + " = ? AND " + KEY_MONTH + " = ?"
+ " ORDER BY " +KEY_EVENTDATE, new String[]{cy, month[j]} );