L'annuaire des
experts comptables français
Accueil

Trouver un expert comptable

  • Par région
  • Ou par département
  • Ou par code postal
  • Rechercher

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