delete from M2m where Pk1 NOT IN (select Pk from Dok1) ; and Pk2 NOT IN (Select PK from Dok1)
>delete from M2m where Pk1 # All (select Pk from Dok1) ; > and Pk2 # All (Select PK from Dok1) >