(n.indexint BETWEEN 5325 AND 5356 )?.
(ncv.notices_custom_champ 5) AND (ncv.notices_custom_integer 4) AND (ncv.notices_custom_champ 2) AND (ncv.notices_custom_integer 15)
(n.indexint BETWEEN 5325 AND 5356 )
(ncv.notices_custom_champ 5) AND (ncv.notices_custom_integer 4) AND (ncv.notices_custom_champ 2) AND (ncv.notices_custom_integer 15)
je t'assure que tu n'aura jamais de résultat avec ces conditions là, vu qu'un champ d'une table ne prend qu'une seule valeur à la fois !!
((ncv.notices_custom_champ 5) AND (ncv.notices_custom_integer 4))OR ((ncv.notices_custom_champ 2) AND (ncv.notices_custom_integer 15))
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question((ncv.notices_custom_champ 5) AND (ncv.notices_custom_integer 4))OR ((ncv.notices_custom_champ 2) AND (ncv.notices_custom_integer 15))
SELECT DISTINCT n.notice_id , n.tit1 , n.indexint FROM notices n INNER JOIN notices_custom_values ncv1 ON n.notice_id ncv1.notices_custom_origine AND ncv1.notices_custom_champ 5 INNER JOIN notices_custom_values ncv2 ON n.notice_id ncv2.notices_custom_origine AND ncv2.notices_custom_champ 2 WHERE (n.opac_visible_bulletinage = 1) AND (n.indexint BETWEEN 5325 AND 5356) AND (ncv1.notices_custom_integer = 2) AND (ncv2.notices_custom_integer = 7)