Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: How to select data in a particular format

    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...

Viewing post 1 (of 1 total)