connection.query(\'SELECT SUM(note) as sum FROM noten WHERE id = ? and fach = ?\', [id, "deutsch_schr"], function(error, results, fields) { const deutsch_schr_insg