public Cursor fetchTimetable() { return mDb.query(DATABASE_TABLE_TIMETABLE, new String[] {TIMETABLE_ROWID, TIMETABLE_MODULECODE, TIMETABLE_MODULENAME, TIMETABLE_R
the right syntax is
String[] projection= {column names}; String[] where={"values for where clause"}; //this must be array public Cursor fetchTimetable() { return mDb.query(TABLE_NAME, projrction, "columname"+"=?", where, null, null, null); }