I'm trying to have this query pull all subscribers into a data extension who are not within another data extension. I'm not sure why it's not working.
Select Status, Name, FirstName, LastName, MiddleName, Title, Email, Phone, MobilePhone, Rating, Subscription_Type__c,
Newsletter__c, Marketing_Emails__c, OwnerId, Website, Company, Industry, NumberOfEmployees, LeadSource, Street, City,
PostalCode, State, Country, CreatedById, LastModifiedById, Id
From Lead_Salesforce
WHERE LeadSource = 'Sample Request' AND Email NOT IN (
SELECT Email
FROM Contact_Salesforce
)
Email
values attached to it? Like primary keys would allow ID 123 to have 2 different entries in the DE and each one has an email of a different value, meaning it would be negative on one match, but positive on another - allowing the record to enter the final DE?