Getting Data from two table group wise

  • Hello

    I am Able To do..

    By Using That Query

    select pu.Supplier_ID,pa.Purchase_ID,pa.Paid_amt

    into #temp1

    from tbl_Purchase pu

    inner join

    tbl_pur_Child pa

    on

    pu.Purchase_id =pa.Purchase_ID

    select Supplier_ID,sum(paid_amt) as Paid from #temp1 group by Supplier_ID

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply