I have a query that I use to return as an extract, accumulating the registry values to registry:
SELECT TOP (100) PERCENT Mes, Credito, Debito, Sum(Credito - Debito)
over (ORDER BY Emp_id, Mes) AS Saldo , Emp_id
FROM viewFluxo
ORDER BY...
asked by
06.09.2017 / 19:29