select tableA.* from TableA T1 LEFT JOIN TableB T2 on T1.PK = T2.FK where T2.FK IS NULL
select * from TableA where PK not in (select FK from TableB)