1
mysql returns me the following
codMunicipio count(codMunicipio)
271 7
273 248
274 18332
275 25
276 4
as the 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
could post a photo of the table? containing the value 272?
– Thomas Erich Pimentel