Running Sum
Thanks for all the replies and suggestions, sorry I have only just picked them up. I have tried adapting all the ideas to my query and the SQL below fits best to what I need. Maybe others will find it useful?:
SELECT a.Part_Number, a.Qty_Ordered, a.Grouping_Code, a.Index, (Select...