Avatar of MedscapeEditorial
MedscapeEditorial
 asked on

Querying a database to find where two fields are not equal

I'm sure I'm missing something obvious....
The task at hand:

Create a date driven report that shows everything that has been published within that date range that was supposed to publish in a different quarter (so it was either advanced or delayed)

Select Autonumber, Topic, Quarter: DatePart('q',Date_Posted),Quarter: DatePart('q',Date_OriginalPublish)  
from TableStuff
Where  the two date parts don't equal....

How do I write that WHERE clause?  
Microsoft AccessSQL

Avatar of undefined
Last Comment
MedscapeEditorial

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
flavo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
ee_rlee

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
MedscapeEditorial

ASKER
PERFECT!! Thank you for sparing me the headache ....was just pulling  a blank on this one!!
MedscapeEditorial

ASKER
Another great answer! Thank you for the prompt assistance
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes