Is there there a way to get the sum of all entries in a table in mysql.
SELECT SUM(all) FROM TABLE fear
select sum(colname) as sumvalue from tablename;