oracle未找到要求的from关键字,什么问题?
oracle未找到要求的from关键字,什么问题?
问题还原:
select t.money as 经济收入/万 from salary t
select t.money as 经济收入(万) from salary t
select t.money as 经济收入[万] from salary t
以上都会报错:“oracle未找到要求的from关键字”。
原因是,经济收入/万、经济收入(万)、经济收入[万] ,有特殊字符,所以报错。
怎么解决呢?
用双引号,将其引住。