Тогда возможно так устроит:
Код:
select sum(Weigth) as Weigth,sum(SP) as SP,sum(PP) as PP,sum(Profit) as Profit from db_main
Ну а если еще и группировка из прошлых примеров нужна допустим по Product то будет примерно так:
Код:
select Product, sum(Weigth) as Weigth,sum(SP) as SP,sum(PP) as PP,sum(Profit) as Profit
from db_main
group by Product