Home Forums SQL Server 2008 T-SQL (SS2K8) How to sum values based on HSN codes in mssql2000 RE: How to sum values based on HSN codes in mssql2000

  • my expected output is 


    invoiceno        cust_name   invoice_docvalu     taxable_value         IGST_value   CGST_value      SGST_value           HSN
    Inv/01-1718      HH                300                           50                          0                      35                   35                          54
    Inv/01-1718       HH                350                           60                        0                     43                    43                         74

    Based on HSN code i have summarise