Quantcast
Viewing latest article 1
Browse Latest Browse All 6

Answer by SirSQL

A little confused here, why not just use SUM instead of COUNT and eliminate your GROUP BY? Or make your existing select a group by SELECT SUM(BRRCompletedApr13) from (select COUNT(AdjustedDateCompleted) as BRRCompletedApr13 from dbo.shp_BRRPipelineRemediation where AdjustedDateCompleted >='04/01/2013' and AdjustedDateCompleted <'05/01/2013' GROUP BY AdjustedDateCompleted )

Viewing latest article 1
Browse Latest Browse All 6

Trending Articles