I am sure it must be something rather simple, but I just can't think of it right now. I have two tables with usernames: t1 and t2. And I would like to be able to perform set operations on them:
1) t = t1 ? t2 (SELECT all those that are either in t1 or in t2, removing dupicates. Somehow I have difficulty with UNION query in MS Access, described in another tek-tip's thread)
2) t = t1 n t2 (SELECT all those that are both in t1 and t2. I already did this one. "SELECT t1.username FROM t1, t2 WHERE t1.username=t2.username")
3) t = t1 n ¬t2 (SELECT all those that are in t1 but NOT in t2. This seems to be tricky. I am not sure how to do it.)
Big thanks in advance!
regards,
rydel n23
1) t = t1 ? t2 (SELECT all those that are either in t1 or in t2, removing dupicates. Somehow I have difficulty with UNION query in MS Access, described in another tek-tip's thread)
2) t = t1 n t2 (SELECT all those that are both in t1 and t2. I already did this one. "SELECT t1.username FROM t1, t2 WHERE t1.username=t2.username")
3) t = t1 n ¬t2 (SELECT all those that are in t1 but NOT in t2. This seems to be tricky. I am not sure how to do it.)
Big thanks in advance!
regards,
rydel n23