I have a table in that I have some duplicate record now I am getting the record without excluding duplicate records. I want to get all record excluding duplicate, and from dupli
I done using this query. taken help from above commented link. ` public Cursor fetchImage() {
Cursor icursor = database.query(true, DatabaseHelper.TABLE_NOTE_IMAGE, new String[]
{DatabaseHelper.TEMP_IMG_ID, DatabaseHelper.NOTE_IMG_PATH_THUMB},
null, null, DatabaseHelper.TEMP_IMG_ID, null, null, null);
if (icursor != null) {
icursor.moveToNext();
}
return icursor;
}`