En utilisant toutes les idées de Pacmann :

WITH ecritures (numero_compte, montant) AS
(
select '616000', 50.00 union all
select '616100', 20.00 union all
select '616200', 80.00 union all...