C
cdolphin88
SELECT SUM(Binding_physical_damage + binding_damaging_repairs +
binding_chemical_damage + binding_biological_damage +
binding_brittle_paper) as RowSumBinding
FROM TB_TYPES_OF_DAMAGE;
I have this query and it give the sum of the rows, but I need a query
which gives me a different result...
I want the result to be 5 (5 instances of 2)
Binding_physical_damage 2
binding_damaging_repairs 2
binding_chemical_damage 2
binding_biological_damage 2
binding_brittle_paper 2
RowSumBindging 5
Is that possible to make a query like this?
Cheers!
C
binding_chemical_damage + binding_biological_damage +
binding_brittle_paper) as RowSumBinding
FROM TB_TYPES_OF_DAMAGE;
I have this query and it give the sum of the rows, but I need a query
which gives me a different result...
I want the result to be 5 (5 instances of 2)
Binding_physical_damage 2
binding_damaging_repairs 2
binding_chemical_damage 2
binding_biological_damage 2
binding_brittle_paper 2
RowSumBindging 5
Is that possible to make a query like this?
Cheers!
C