SELECT [Inventory Transactions Extended].Inventory.[Inventory ID], [Inventory Transactions Extended].Inventory.Item, Sum([Inventory Transactions Extended].[Actual Quantity]) AS [Current Stock], [Inventory Transactions Extended].[Reorder Level], [Target Stock
Level]-[Current Stock] AS [Reorder Amount], [Inventory Transactions Extended].[Target Stock Level], [Inventory Transactions Extended].Category, [Inventory Transactions Extended].Location, [Supplier Query].Expr1
FROM (MaterialsOrder INNER JOIN ([Inventory Transactions Extended] LEFT JOIN [Supplier Query] ON [Inventory Transactions Extended].Supplier = [Supplier Query].[Supplier ID]) ON MaterialsOrder.[Supplier ID] = [Supplier Query].[Supplier ID]) INNER JOIN [MaterialsOrder
Detail] ON MaterialsOrder.[Order ID] = [MaterialsOrder Detail].[Order ID]
GROUP BY [Inventory Transactions Extended].Inventory.[Inventory ID], [Inventory Transactions Extended].Inventory.Item, [Inventory Transactions Extended].[Reorder Level], [Inventory Transactions Extended].[Target Stock Level], [Inventory Transactions Extended].Category,
[Inventory Transactions Extended].Location, [Supplier Query].Expr1;
What query should i separate and then rejoin ??
http://msdn.microsoft.com/en-us/library/office/jj729970(v=office.15).aspx