I have a query that retrieves a list of names. I need to modify the query by adding a subquery that will exclude t1.name
if it appears within t2.exclude. I need some help with constructing the subquery, which I understand will go into the WHERE
clause below:
SELECT t1.name
FROM t1
WHERE *** t1.name is not in t2.exclude ***
What is the correct syntax for the subquery that I need? Thanks.