I have three tables - Header, Details, & Budget.
Header and Details have an inner join. Details and Budget have a left outer join.
I want to display Budget.Amount when there are related budget records, however, sometimes there are no budget records. In that case I want to display a 0. The problem is, when there are no related Budget records for a particular Header/Details record, that particular Header/Details record does not show up at all.
Header and Details have an inner join. Details and Budget have a left outer join.
I want to display Budget.Amount when there are related budget records, however, sometimes there are no budget records. In that case I want to display a 0. The problem is, when there are no related Budget records for a particular Header/Details record, that particular Header/Details record does not show up at all.