mysql returns me the following
codMunicipio count(codMunicipio)
271 7
273 248
274 18332
275 25
276 4
Because no 272 did not return any, it is not displayed. But I need to return the 272 with count 0. How could I do that? my sql is below
SELECT artesao.codMunicipio,count(codMunicipio)
FROM 'artesao'
where artesao.codMunicipio > 270
group by codMunicipio