﻿CREATE VIEW [C6Mart].[ClientiConCCNegativo]
AS
	SELECT RETE, COD_FISCALE
	FROM  C6Mart.PATRIMONIO_BF
	WHERE (TIPO_PRODOTTO = 'CC')
	GROUP BY RETE, COD_FISCALE
	HAVING SUM(CTV) < 0