$query = "SELECT uf , count(*) as number FROM tab_clientes GROUP BY uf ";
It is working fine however I have in the database a status field that classifies the person as Off (need to remain registered for other reports).
I would like the records not to enter the above query when the status='Desligado'
field.