I have the following code made by Amon :
select
id,
disponibilidade,
tipo
from
clientes
where
cliente = '$cliente'
AND status = '2'
AND (tipo <> '0' AND (disponibilidade <> '0' OR vanual <> '0' OR vtemporada <> '0'))
I need to display how many customers have an ZERO EQUAL TYPE and do not have at least one of the availability vanual or filled-in .
Thank you!