1
I have the following code to update a field in my table.
I wonder if I could change the "note" and "missing" fields in all table records.
Example: put all records with note = 8 and missing = 5
public void Update_Exercicios(String id,int dados1,int dados2) {
ContentValues valores= new ContentValues();
valores.put("nota",dados1);
valores.put("falta",dados2);
banco.update("CriarTreinoExercicio", valores,"ID=?",new String[] {id});
}