huntington balance

This commit is contained in:
Paul Trowbridge 2024-08-28 12:42:56 -04:00
parent fcaf95fcdf
commit ab15e8cc2b

View File

@ -0,0 +1,8 @@
\timing
SELECT
r.*
,SUM(r."Amount") OVER (ORDER BY r."Date" asc , r.id) + 29909.75 balance
FROM
tpsv.hunt_default r
ORDER BY
r."Date" desc