Hello
If I have a statement like the one below, how can I return a grand total of all of the records?
I want the query results to contain on record that will show the sum(Reserve + PaidLoss + PaidLegal + PaidNonLgl)
but for all rows
Thanks
Dave
select
sum(Reserve + PaidLoss + PaidLegal + PaidNonLgl)
from
claimsuf cs
join lossdesclookup ldl
on cs.causecode=ldl.cause
join lossDescription ld
on cs.claimnum=ld.claimnumber
and ld.descid=ldl.recid
group by
cs.claimnum, cs.suffix
, CLOB.Description
, ldl.description
, ld.LossDescription
, cs.Reserve
, cs.PaidLoss
, cs.PaidLegal
, cs.PaidNonLgl
If I have a statement like the one below, how can I return a grand total of all of the records?
I want the query results to contain on record that will show the sum(Reserve + PaidLoss + PaidLegal + PaidNonLgl)
but for all rows
Thanks
Dave
select
sum(Reserve + PaidLoss + PaidLegal + PaidNonLgl)
from
claimsuf cs
join lossdesclookup ldl
on cs.causecode=ldl.cause
join lossDescription ld
on cs.claimnum=ld.claimnumber
and ld.descid=ldl.recid
group by
cs.claimnum, cs.suffix
, CLOB.Description
, ldl.description
, ld.LossDescription
, cs.Reserve
, cs.PaidLoss
, cs.PaidLegal
, cs.PaidNonLgl