0

I have a cross tab query displaying the final results to be presented in a Report format.

I need about 30 columns to be grouped and summed together as one master column.

Having issues with Microsoft 2010 and also with the tables and field names.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278

1 Answers1

0

Something like this should do it:

select (sum(t1.col1) + sum(t1.col2) + sum(t2.col3) + ...) as master
from yourTable1 t1, yourTable2 t2, ...
where ...
drew.cuthbert
  • 1,005
  • 1
  • 9
  • 21