Dit beantwoordt de originele versie van de vraag.
U kunt not exists
. gebruiken :
select col, description || ' ...'
from t
where not exists (select 1
from t t2
where t2.description like t.description || '%' and
t2.descriptoin <> t.description
);
Merk op dat dit op een grote tafel niet efficiënt zal zijn!