select * from movdiario_tmp A where not exists (select * from produto B where A.id_produto=B.coditem ) and A.tipo='V'