Hello, I am trying to join 2 tables and trying to fetch the records, which do not have values in the join column of the 2nd table. For example: Table 1 Id column values: 1, 2, 3, 4,
Table 2 Id column values: 1, 3,
Given the above example of the values in the join columns of the 2 tables, I want to fetch records from table1 with ids 2 and 4, because they are not present in table2.
Any help would be much appreciated.
My SQL has gotten rusty to the introduction of JPA frameworks, but today I cannot run away from not knowing it, it seems :(
Thanks!