Ver originalWITH T AS(SELECT *, COUNT(CASE WHEN Producto IN ('A','B') THEN 1 END) OVER(Partition BY Cliente) NFROM MiTabla)DELETEFROM TWHERE N=2 AND Producto='B';