Use AND or OR for multiple conditions. You can also use BETWEEN for ranges and IN to look for multiple conditions. Check the SQL BOL for help with SELECT statements and WHERE clauses.
Examples:
Where ColA=5 and ColB<21
Where ColA=5 OR ColA=7
Where ColA Betweeen 'jan 21 2001' AND Feb 14 2001'
Where ColA In ('John','Mary','Michael','Janet')
Terry Broadbent
Please review faq183-874.
"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.