Posts by andrecorreia432 • 1 point
1 post
-
-1
votes3
answers252
viewsA: Return the row of a table when the value of Count(field) is 0 in Mysql
select codigo,count(id) as QUANTIDADE from( select id,nome from ( select id from categoria where ... group by ID) as a left join tabela on a.id=id group by id,nome) as b left join tabela on b.id=id…