Con
Select NVL(TIPO,'Contanti')as my_tipo,
SUM(IMPORTO), COUNT(*) AS MOVIMENTI
FROM tabella
group by my_tipo
TIPO -------IMPORTO----MOVIMENTI
Contanti-------100-----------5
Contanti -------50------------1
Assegni --------80------------2
Non mi risolve il problema devo sommare le due righe contanti![]()