You can use as many ANDs and ORs as you like, with as many parenthesis as you like to create as many logical sub-groupings as you like:
a AND b AND (c OR (d AND e) OR (f AND g)) ...
but be aware that at some point you cross a line where you should probably re-examine your join criteria and ask yourself why you're having to specify so much in a WHERE clause.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Offline 6,757 posts
since May 2007