Mysql
 sql >> Database >  >> RDS >> Mysql

Filtraggio di righe distinte in SQL

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