Pour ajouter des champs (colonnes) :
SELECT col1, col2, col3, (col1+col2+col3) AS Total FROM table;
Pour ajouter des lignes ensemble, utilisez le SUM()
agrégé :
SELECT
userid,
SUM(col1) AS col1_total,
SUM(col2) AS col2_total
FROM table
GROUP BY userid