Ver originalSELECT * FROM fte_clientes cteWHERE NOT EXISTS (SELECT * FROM fte_ ventas vtas cte.idcliente = vtas.idcliente)