mogy74
Member
Hi to all,
i need to make a filter result in a database join , i follow the wiki but looks like it don't work, because i see on my list all aviable data without filter,
this is the sintax i use:
WHERE {thistable}.`nome`
IN ( SELECT elenco_istruttori.nome FROM elenco_istruttori,elenco_istruttori_5_repeat
WHERE elenco_istruttori.id = elenco_istruttori_5_repeat.parent_id
AND elenco_istruttori_5_repeat.competenze = 2)
i would have in list only the "nome" where competenze is 2
thanks in advance to everyone
i need to make a filter result in a database join , i follow the wiki but looks like it don't work, because i see on my list all aviable data without filter,
this is the sintax i use:
WHERE {thistable}.`nome`
IN ( SELECT elenco_istruttori.nome FROM elenco_istruttori,elenco_istruttori_5_repeat
WHERE elenco_istruttori.id = elenco_istruttori_5_repeat.parent_id
AND elenco_istruttori_5_repeat.competenze = 2)
i would have in list only the "nome" where competenze is 2
thanks in advance to everyone