Hi there, I am fairly new to Access therefore I hope you can help me figure this out. Listed below are products and suppliers. If I wanted to filter on a product e.g. Lemonade and want to see a list of suppliers BUT also exclude suppliers that sell Tea from the list. The answer should be "Sweet Drinks" as the other two are Tea suppliers too. But do I get to this answer from the data below?
What type of join would I need please? And how do I include a criteria and exclude others at the same time? I am hoping to connect the query to Excel and use a pivot table to select a product while excluding rows of data connected to the excluded product.
Many Thanks!!
What type of join would I need please? And how do I include a criteria and exclude others at the same time? I am hoping to connect the query to Excel and use a pivot table to select a product while excluding rows of data connected to the excluded product.
Many Thanks!!
Product | SUP_ID | Supplier | Profit £ (Mill) |
Coffee | S01 | AA beverages | 1.1 |
Coffee | S02 | Drinks R Us | 0.9 |
Hot Chocolate | S01 | AA beverages | 1.1 |
Hot Chocolate | S03 | Sweet Drinks | 0.5 |
Lemonade | S01 | AA beverages | 1.1 |
Lemonade | S02 | Drinks R Us | 0.9 |
Lemonade | S03 | Sweet Drinks | 0.5 |
Tea | S01 | AA beverages | 1.1 |
Tea | S02 | Drinks R Us | 0.9 |