I have a table with a TestNumber column with four possibilites (ex: 1 - 4), a TestDate column, and other data. I want to make a query that will return a user defined year and test numbers. For example, I want to return test Numbers 1 and 2 that have a date with year 2008.
Edit: I basically want to combine these two statements into one statement:
SELECT * FROM testTable WHERE testNumber = '1' AND '2'
SELECT * FROM testTable WHERE testDate between #01/01/2008# and #01/01/2009#