I've got two tables. Table1 is like this:
Table2 is like this:
The values for white and black in table2 are the unique ID (primary key) from table1. It's a chess pairing program I'm trying to design. The thing is I need to check that there aren't any players in table2 who are from the same school.
This is all in visual basic (jet sql) and I'm guessing I need an inner join to compare the schools in table1 with the White and Black values in table2. Can anyone help?
Thanks in advance...

Table2 is like this:

The values for white and black in table2 are the unique ID (primary key) from table1. It's a chess pairing program I'm trying to design. The thing is I need to check that there aren't any players in table2 who are from the same school.
This is all in visual basic (jet sql) and I'm guessing I need an inner join to compare the schools in table1 with the White and Black values in table2. Can anyone help?
Thanks in advance...