Hi Larry
This might help:
if object_id('tempdb..#test') is not null drop table #test
create table #test
(
companyID int
,[$_Paid] decimal(10,2)
,[$_Billed] decimal(10,2)
)
insert into #test values(22,181.38,67.88)
insert into #test values(22,5986.34,2279.03)
insert into #test...