notes.id
explicit JOIN
UPDATE notes INNER JOIN students ON notes.student_id = students.id SET students.points = students.points + 1 WHERE notes.id = 1
Pro tip: use ```triple backticks around text``` to write in code fences