Viewing post 1 (of 1 total)
select CertYear, sum(QtyMaster) as QtyMaster, sum(QtyInstr) as QtyInstr
, sum(QtyTrain) as QtyTrain
from(
select v.CertYear
, case when v.CertCode = 'HI-Master' then sum(v.Quantity)
else 0
end as QtyMaster
, case when...
April 2, 2013 at 6:47 am
#1602776