(SELECT Count(*) FROM ((PRO_Produits_vav LEFT JOIN VIL_Villes ON pro_produits_vav.PRO_Ville = VIL_Villes.VIL_Id) LEFT JOIN SEC_Secteurs ON VIL_Villes.VIL_SEC_Id = SEC_Secteurs.SEC_Id) LEFT JOIN SEC_Secteurs AS SEC_Secteurs_2 ON VIL_Villes.VIL_SEC_Id2 = SEC_Secteurs_2.SEC_Id WHERE PRO_Statut='N' AND internet=true and exportvalide=true ) union (SELECT Count(*) FROM ((PRO_Produits_ter LEFT JOIN VIL_Villes ON pro_produits_ter.PRO_Ville = VIL_Villes.VIL_Id) LEFT JOIN SEC_Secteurs ON VIL_Villes.VIL_SEC_Id = SEC_Secteurs.SEC_Id) LEFT JOIN SEC_Secteurs AS SEC_Secteurs_2 ON VIL_Villes.VIL_SEC_Id2 = SEC_Secteurs_2.SEC_Id WHERE PRO_Statut='N' AND internet=true and exportvalide=true )








































|
1
2
3
4
5
6
7
8
9
10
11
12
|