MS Access Query Question - Exclude by Date

I would like to exclude 11/3/17 from Table1
Snap3766.pngBut Query1 is not working.
Hiroyuki TamuraField EngineerAsked:
Who is Participating?
Bill PrewCommented:
Can't easily do that in the design tool, but try this SQL.  We have to get just the date part of the datetime column from Table1 to match to the data column in Table2.  Then to exclude the rows from Table1 where there was a match in Table2, we only get the results where there was no match, indicated by a NULL in the Table2 column.

SELECT Table1.ID, Table1.[Call Start Time], Table1.[Time to Abandon]
FROM Table2 RIGHT JOIN Table1 ON Int(Table2.Field1) = Int([Table1].[Call Start Time])
WHERE Table2.Field1 IS NULL;

Open in new window

Hiroyuki TamuraField EngineerAuthor Commented:
Thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.