>>Delete From pattern ; >>Where pattern.patid In (Select CurRemove.patid From CurRemove) ; >>.and. xpat.patid Not In (Select CurExcept.patid From CurExcept) >>>
>delete Pattern from Pattern inner JOIN curRemove on Pattern.PaidID = curRemove.PatID LEFT JOIN curExcept on ; >Pattern.PatID = curExcept.PatID where curExcept.PatID IS NULL>