I'm doing maintenance to OLD sql database and I have a select clause like this:
SELECT
[P].[ItemID]
, SUM([p].[OnOrder]) AS [OnOrder]
, [I].[FullName] AS [PartNo]
, [I].[PurchaseDesc] AS [Description]
, [I].[ItemCust3]
FROM @POItems AS [P]
INNER JOIN [tblMakeUseType] AS [MUT] WITH(NOLOCK)
INNER JOIN [ItemInventory] AS [I] WITH(NOLOCK) ON [MUT].[MakeUseTypeID] = [I].[MakeUseTypeID] ON [P].[ItemID] = [I].[NCItemInventoryID]
As you can see first INNER JOIN does not have ON clause, but after second inner join there is ON clause of first INNER JOIN, I never seen that before, is there any way to do reverse engeneering and use as tipcal INNER JOIN? I mean each one with hes ON clause? Regards