Query Help Please
Hi... having problems with a query. Any assistance would be
much appreciated.
Two queries with identical columns: Villages_Query_1 and Villages_Query_2.
Both have these columns: Village_ID, Village_Name, Player_ID.
I need to find all records in Villages_Query_2 where the Village_ID's match but the Player_ID's have changed.
Example Village_Query_1
| Village_ID | Village_Name | Player_ID |
|---|---|---|
| 1 | Houston | 1 |
| 2 | Dallas | 2 |
| 3 | Chicago | 3 |
Example Village_Query_2
| Village_ID | Village_Name | Player_ID |
|---|---|---|
| 1 | Houston | 1 |
| 2 | Phoenix | 4 |
| 3 | Chicago | 3 |
| 4 | New York | 5 |
In this case, Village_ID = 2, has changed names (Dallas to Phoenix) and the Player_ID has changed (2 to 4). In addition, a new record was added.
The eventual output I need is to be able to report the following:
Player 2 village "Dallas" was taken by Player 4 and renamed "Phoenix".
New York is a new village owned by Player 5.
How the heck do I do this?? I have been trying query after query... reading about query of queries and JOINS and and and... I am now completely confused.
Help appreciated.
Mark
