sql to delete terms and descriptors that were just termb, terma inverse ...

...of terma termb