I have got 3 tables in a universe which I'm trying to link. The first is a 'Company' table which holds customer info. The second is a 'Sales' table which holds all sales for each customer, and the third is a 'Person' table which holds the sales person name connected to the sale.
I'm trying to link these tables together so that I can see all customers, what sales they have had and who was responsible for the sale. I want to see all customers (even if they have had no sales), all sales (even if there wasn't a person connected to it) and all persons.
I know the fields I need to link by. It's just the cardinality I'm struggling with. I've tried every combination of joins I can think of (including inner and outer joins) and they all produce various error messages.
I know the answer is probably very simple but could somebody please help me with this problem as I'm about to throw my desktop out of the window.
Many thanks for any help.
I'm trying to link these tables together so that I can see all customers, what sales they have had and who was responsible for the sale. I want to see all customers (even if they have had no sales), all sales (even if there wasn't a person connected to it) and all persons.
I know the fields I need to link by. It's just the cardinality I'm struggling with. I've tried every combination of joins I can think of (including inner and outer joins) and they all produce various error messages.
I know the answer is probably very simple but could somebody please help me with this problem as I'm about to throw my desktop out of the window.
Many thanks for any help.