Trovato!

SELECT month(data),year(data),sum(importo) as tot FROM `fatture` group by month(data), year(data) DESC