I am having a tough time on where to begin with this...
PricingDrugGroupID | PricingDrugName | Country | BrandGeneric
===========================================================================
1 PricingDrug A USA BRAND
2 PricingDrug A France BRAND
3 PricingDrug A Japan BRAND
4 PricingDrug B USA BRAND
5 PricingDrug B Germany BRAND
6 PricingDrug B France BRAND
7 PricingDrug B Japan BRAND
8 PricingDrug C Germany BRAND
=============
MyGeography
=============
Country
--------
USA
France
Japan
Germany
What I need
I want to return the PricingDrugNames that do not have all of the country records listed in the MyGeography table.
Thus,
PricingDrug A, PricingDrug C
PricingDrugGroupID | PricingDrugName | Country | BrandGeneric
===========================================================================
1 PricingDrug A USA BRAND
2 PricingDrug A France BRAND
3 PricingDrug A Japan BRAND
4 PricingDrug B USA BRAND
5 PricingDrug B Germany BRAND
6 PricingDrug B France BRAND
7 PricingDrug B Japan BRAND
8 PricingDrug C Germany BRAND
=============
MyGeography
=============
Country
--------
USA
France
Japan
Germany
What I need
I want to return the PricingDrugNames that do not have all of the country records listed in the MyGeography table.
Thus,
PricingDrug A, PricingDrug C