I have a table abc which has three columns a,b,c 

```
a      b
apple    ram
ram      apple

```

apple can be eaten by ram but ram cant be eaten by apple
I want to write a query to fetch all the rows which has the above said relationship in order to delete all the rows with the relationship

```
a        b 
ram      apple

```