I am very new to SQL and don't understand why this query is not working. I was hoping someone could give me a hand. Thank you in advance.
SELECT COUNT (Results.Output)
FROM RESULTS
WHERE Results.Output <> 'Simulated' AND Results.Output <> '-' AND
Results.Det = 'ASBACM_SZ OR Results.Det = 'ASBACM AND Result.Detdate >= ?
AND Result.Detdate <= ?