I am trying to filter a table to the values which are not in a joined table. I have tried many versions but none seem to work, not sure what I am missing.
SELECT
"Site Details with Display Unit"."Account_ID" as 'Site Account ID',
"Site Details with Display Unit"."Account Name" as 'Site Name',
"Site Details with Display Unit"."Display Unit Name" as 'Display Unit Name',
"Site Details with Display Unit"."Network" as 'Network',
"Site Details with Display Unit"."Postcode" as 'Postcode',
"Site Details with Display Unit"."State" as 'State',
"Site Details with Display Unit"."Total Screens" as 'Total # Screens',
"Site Details with Display Unit"."Weekly Footfall" as 'Audience'
FROM "Site Details with Display Unit"
JOIN "Campaign Schedule with Site Account Name" ON "Site Details with Display Unit"."Account_ID" = "Campaign Schedule with Site Account Name"."Location Account_ID"
WHERE "Site Details with Display Unit"."Account Name" NOT IN"Campaign Schedule with Site Account Name"."Location"