I have an "Employees" table with a "SeatingZone" field where we record which of thousands of cubicle zones they sit in. Regular "snapshot" copies of this table are made for backup and historical purposes.
I need to write a query which will compare the "Employees" table to one of it's backup copies and list all employees that joined or left a seating zone. So the query would be scanning both tables for a subset of records (all employees sitting in a given zone) then listing all rows that aren't shared between the two table's subsets.
Sounds to me like it may involve a nested query but I don't know how to go about it!
VBAjedi![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)
I need to write a query which will compare the "Employees" table to one of it's backup copies and list all employees that joined or left a seating zone. So the query would be scanning both tables for a subset of records (all employees sitting in a given zone) then listing all rows that aren't shared between the two table's subsets.
Sounds to me like it may involve a nested query but I don't know how to go about it!
VBAjedi
![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)