问题描述
这是我的代码,检查语法后出现此错误
ORA-00920无效的关系运算符
select id,classification
from Closerfprfx
where classification in ('xxx','RFX','aa') and region('e','sdfsdf','dfg')
此代码有什么问题?
解决方法
除非您有一个名为region
的函数,它接受三个字符串参数,否则此代码没有意义:
region('e','sdfsdf','dfg')
我认为您缺少in
:
region in ('e','dfg')