9 lines
158 B
MySQL
9 lines
158 B
MySQL
|
\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
|