I'm using Access, and because access doesn't support the "Minus" operation, I need to run the following query:
<CFQUERY NAME="non_Email_Query_admin_emaillist" DATASOURCE=#DataSource#
SELECT SubInfo.UserID, Email.UserID, SubInfo.UserName, SubInfo.SubName, SubInfo.Email
FROM SubInfo LEFT JOIN Email ON SubInfo.UserID = Email.UserID
WHERE (((Email.UserID) Is Null));
</CFQUERY>
But I also need to add another Field for the query to retrieve(JobInfo.JobName = #form.JobName#). Can someone help me with the syntax?
Thanks,
Ryan
<CFQUERY NAME="non_Email_Query_admin_emaillist" DATASOURCE=#DataSource#
SELECT SubInfo.UserID, Email.UserID, SubInfo.UserName, SubInfo.SubName, SubInfo.Email
FROM SubInfo LEFT JOIN Email ON SubInfo.UserID = Email.UserID
WHERE (((Email.UserID) Is Null));
</CFQUERY>
But I also need to add another Field for the query to retrieve(JobInfo.JobName = #form.JobName#). Can someone help me with the syntax?
Thanks,
Ryan