Yes, that is the correct way to sum one column.
If the columns don't allow NULL values, you can just add the sums together. If they do allow NULL values, you have to be a bit more defensive, something like:
Code:
SELECT Sum(rating1) AS rating1
, Sum(rating2) AS rating2
, Sum(rating3) AS rating3
, Sum(rating4) AS rating4
, Sum(rating5) AS rating5
, Coalesce(Sum(rating1), 0)
+ Coalesce(Sum(rating2), 0)
+ Coalesce(Sum(rating3), 0)
+ Coalesce(Sum(rating4), 0)
+ Coalesce(Sum(rating5), 0) AS all_ratings
FROM Class_1
-PatP