Ambiguous field name between table VENITENS and table VENDAS . PEDIDONRO.
Esse erro nos diz que temos um campo "PEDIDONRO" com o mesmo nome tanto em VENITENS e em VENDAS! Para ajustar basta colocar uma mascara em PEDIDONRO
select V.PEDIDONRO
from VENDAS V
inner join VENITENS VI on VI.PEDIDONRO = V.PEDIDONRO
0 comentários:
Postar um comentário