I want to return a cursor with only individual column values. There are more items in the Groups column, but with only two values: 1,2,1,1,1,2,2,2,2
String[] FROM = {Groups,_ID}; public Cursor getGroups(){ //...... return db.query(TABLE_NAME,FROM,null,null,null,null,null); }
will return a cursor containing {1,2,1,1,1,2,2,2,2,1,1}, but I would just like to specify {1,2}.