Viewing post 1 (of 1 total)
Hope this query would solve your problem!!
select Order_number,Total_Sale_amt, sum(Sale_amt) from
ORDERS_TABLE OT
inner join ORDERS_DETAILS OD
on OT.Order_number = OD.Order_number
group by Order_number,Total_Sale_amt
March 8, 2010 at 4:47 am
#1129923