                     check=0;                     if(cursor==null){                         String Query0 = "SELECT  NAME0 FROM Capital_Names where ID = '" + ida + "' and NAME0='" +name+ "'";                         cursor=db.rawQuery(Query0,null);                         check=0;                     }                     if(cursor==null){                         String Query0 = "SELECT  NAME0 FROM Capital_Names where ID = '" + ida + "' and NAME0='" +name+ "'";                         cursor=db.rawQuery(Query0,null);                         check=0;                     }                     if(cursor==null){                         String Query0 = "SELECT  NAME0 FROM Capital_Names where ID = '" + ida + "' and NAME0='" +name+ "'";                         cursor=db.rawQuery(Query0,null);                         check=0;                     }                     if(cursor==null){                         String Query0 = "SELECT  NAME0 FROM Capital_Names where ID = '" + ida + "' and NAME0='" +name+ "'";                         cursor=db.rawQuery(Query0,null);                         check=0;                     }                     if(cursor==null){                         String Query0 = "SELECT  NAME0 FROM Capital_Names where ID = '" + ida + "' and NAME0='" +name+ "'";                         cursor=db.rawQuery(Query0,null);                     }                     return 