2 Replies to “Pivot-in-SQL”

  1. brand purchase value sales values
    ———————————————————————-
    honda 5000 4000
    volvo 3000 6000
    it is opened rows

    how can i write pivot in mssql for this form: (opened columns)
    honda volvo toyota etc…. opened brand===>>
    purchase value 4000 5000 6000
    sales values 6000 7000 8000

Leave a Reply

Your email address will not be published. Required fields are marked *