Here's the basic syntax for JOINing tables and using table aliases. You should be able to tweak this to make it work for your actual column names and table names.Does this help?select o.[order number] ,o.[<other order information>] ,pli.DiscountAmountfrom [Order] oinner join [Orders_ShoppingCart] osc on osc.[order Number] = o.[order Number]inner join PromotionLineItem pli on pli.ShoppingCartRecID = osc.ShoppingCartRecIDwhere o.[order number] = '<some orderNumber>'
Be One with the OptimizerTG