Fidelity Investments Interview Question

hoe to calculate the running total in sql