
March 16th, 2004, 08:07 AM
|
|
Registered User
|
|
Join Date: Jul 2003
Posts: 3
Time spent in forums: 41 sec
Reputation Power: 0
|
|
|
How to query using DeMorgan's Theorem
I am having trouble using DeMorgan's Theorem in a Access query. My problem states to find courses that are in building 13 (the results was 8). Call the result Set A. Next I'm to find couses in building 36 and call it Set B (result 24). I get lost when I have to construct the SQL code to find the result sets:
a. the result of set A or B (use WHERE building = 13 or 36)
b. The result of the complement of (a): NOT(set A OR setB)
What thell does this mean? NOT set A or set B = 0, right?
c. The result of NOT (set A) AND NOT (set B). Same thing zero, correct?
I would appreciate any help in getting through this code. I don't know where to begin so I can't test the results. It seems like it's not necessary. If I look at set A and set B, then try to find the result of data that's not in set A or B, I get zero, right. PLEASE HELP!
Last edited by davictor : March 16th, 2004 at 08:09 AM.
Reason: wrong results numbers
|