select location_libelle as Localisation, statut_libelle as Statut, count(*) as Nombre from exemplaires, docs_location, docs_statut where idlocation=expl_location and idstatut=expl_statut group by location_libelle,statut_libelle order by 1,2