Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Filtrando linhas distintas no SQL

SELECT DISTINCT buyer FROM table WHERE buyer NOT IN 
    (SELECT DISTINCT buyer FROM table WHERE seller='Seller A')