Dies ist meine Tabellendaten Student
Wie Spaltenwerte in mysql
Und das ist meine Abfrage hinzuzufügen -
SELECT id, SUM(maths + chemistry + physics) AS total, maths, chemistry, physics
FROM `student`
aber es wirft eine einzelne Reihe -
id total maths chemistry physics
118 760 55 67 55
obwohl ich Summe für alle IDs anwenden möchte .... lass mich kn Wie kann ich das erreichen?
+1 für sehr einfache Lösung :) – Trialcoder