$ 0 0 Asked the question Cte somando Qtd e agrupando por Data de entrada e Saida. in the SQL Server - Desenvolvimento Geral Forum.