Erro manipulação executar! select an02codigo, ac02nome, ac03nome , an03codigo, ac04nome, an04codigo
from tb02departamento inner join tb03secao on (an02codigo=an03departamento)
inner join tb04grupo on (an03codigo=an04secao)
where an04codigo =22
: Erro manipulação executar! select an05codigo, ac05nome from tb05subgrupo tb
where ac05sit="S" and an05grupo="" order by ac05nome
: Erro manipulação executar! select distinct an02codigo, ac02nome
from tb02prod_grupo left join tb02departamento on (an02codigo=an02grupo)
where an02nivel=1 and ac02produto in (select ac02produto from tb02prod_grupo where an02grupo=22 and an02nivel=3) and ac02sit="S"
and an02codigo<>0 order by ac02nome
: Erro manipulação executar! select distinct an06codigo, ac06nome from tb06marca
left join tb10produto on (an10marca=an06codigo) where ac06sit="S" and ac10codigo in (select ac02produto from tb02prod_grupo where an02nivel=3 and an02grupo=22) order by ac06nome
: