﻿CREATE VIEW [C6Mart].[vPatrimonioImmobAggregato]
AS
SELECT     RETE, COD_FISCALE, 
			SUM(VALORE_STIMATO) as PatrimonioImmob
FROM         C6Mart.PATRIMONIO_Immobiliare
GROUP BY RETE, COD_FISCALE