L'annuaire français des serruriers
- 14276 serruriers référencés
-
ERREUR select
(
(
select
count(*) as count
from
client C,
departement_client_classique DCC,
departement D
where
(
and
(abonnement_promotionnel_client = 0)
and
(C.id_client=DCC.id_client)
and
(D.id_departement=DCC.id_departement)
and
(actif_client=1)
)
)
+
(
select
count(*) as count
from
client C,
departement_client_promotionnel DCP,
departement D
where
(
and
(abonnement_promotionnel_client = 1)
and
(C.id_client=DCP.id_client)
and
(D.id_departement=DCP.id_departement)
and
(actif_client=1)
)
)
) as total You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and
(abonnement_promotionnel_client = 0)
and
...' at line 13