SELECT periodo, SUM(totbn) AS somma_bn FROM fatture GROUP BY periodo ORDER BY periodo