SELECT COUNT(*) FROM Principale as P, paese_t as Pa, OpzVendita as V, cliente_t as C WHERE (P.Tipo = "vendita") AND (P.Paese = Pa.Paese_t_ID) AND ( Pa.Zona = "Liguria" ) AND (P.PrincipaleID = V.OpzVenditaID ) AND (P.Cliente = C.Cliente_t_ID) AND C.visibile = 1 AND P.Active = 1 AND (C.Scadenza >= NOW() OR C.Scadenza = 0) AND P.Paese = 194 AND V.Tipo = "Attivitą Commerciale"Query errata contattare la Backward