select o.ReplacementItemID, o.ItemStatus, o.Description, i.ItemWarrantyID, o.Id as OriginalItemId from ( select id, ItemStatus, Description, ItemWarrantyID, ReplacementItemID from item where ItemStatus = 'obso' )o inner join Item i on o.ReplacementItemID = i.Id --where o.ReplacementItemID = 948032
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)