我尝试运行以下命令:
select *
from tax.tax_payer@reis tp
left outer join re_right@reis r on (tp.tin = r.tin or tp.tin = r.tin_a1 or tp.tin = r.tin_a2)
where (r.right_status = -1 or r.right_status is null)
--and r.right_id is not null
and tp.je_id = 12;
但不断得到
ORA-00933: SQL 命令未正确结束。
如果我删除评论它工作正常,但为什么呢?