Select montant AS Montant, count(*) as 'Nombre de lecteurs' from empr LEFT JOIN comptes ON proprio_id=id_empr LEFT JOIN transactions ON compte_id=id_compte WHERE montant>0 AND sens='-1' AND realisee='0' GROUP BY montant