Table 1 contains a unique ID column with millions of rows.
Table 2 contains 2 columns, matchId1, matchId2 which can hold an ID from Table 1. There can be many rows in Table 2 referencing a given ID.
How can I list the IDs from Table 1 that are not contained in Table 2 (in either column) in an efficient way?