ORA-00923: 未找到要求的 FROM 关键字

oracle处理 后台数据时,

select a.oga01 发货单号,e.imaud04 箱/套
from oga_file a
left join ogb_file b on b.ogb01 = a.oga01
left join oeb_file c on c.oeb01 = b.ogb31 and c.oeb03 = b.ogb32
left join oea_file d on d.oea01 = c.oeb01
left join ima_file e on e.ima01 = b.ogb04
left join oah_file f on f.oah01 = d.oea31
left join sfb_file g on g.sfb22 = c.oeb01 and g.sfb221 = c.oeb03
where a.ogaconf <> 'X'

老是提示“ORA-00923: 未找到要求的 FROM 关键字” ,上网查看了很多有类似问题的网友,

大部分都是因为字段之间漏掉逗号,

最后排查发现原来是取别名的时候出现特殊字符报错,把e.imaud04 箱/套 -> e.imaud04 "箱/套"就解决了。

原文地址:https://www.cnblogs.com/lhy5678888/p/4186886.html