Didnt understand your requirement fully.i think first part can be obtained as thisSELECT ISNULL(t1.ItemDescription,t2.ItemDescription),FROM(SELECT ItemdetailId,AccountId,ItemDescriptionFROM ItemsWHERE AccountId=@AccountIdAND ItemDescription=@Item)t1RIGHT OUTER JOIN (SELECT ItemID,ItemDescription,StatusFROM ItemsWHERE ItemDescription=@Item)t2ON t2.ItemDescription=t1.ItemDescription
didnt understand your second part.Where will you be adding user defined items?Can you explain this a bit more?