Вы можете использовать exists
:
select t.*
from table1 t
where
t.capatibilty in ('Grinding', 'Milling')
and exists (
select 1
from table1 t1
where
t1.supplier = t.supplier
and t1.capatibilty in ('Grinding', 'Milling')
and t1.capability <> t.capability
)
Если Шлифование и Фрезерование - единственные два возможных значения, это можно немного упростить:
select t.*
from table1 t
where
exists (
select 1
from table1 t1
where
t1.supplier = t.supplier
and t1.capability <> t.capability
)