我在以下选择查询中收到错误。这是我收到的错误:
ORA-00905: 缺少关键字
任何人都可以帮忙吗?
SELECT ni.node_installation_id,ni.customer_node_id,ni.customer_id,c.brand_name_1,substr(nitr.name,1,instr(nitr.name, ' ')-1) as node_inst_type
from node_installation ni , customer c , node_inst_type_release nitr
where ( Case
WHEN ni.arne_timestamp is null THEN ( case
when ni.arne_flag ='I' then ni.arne_flag ='I'
END )
else (trunc(sysdate) - trunc(ni.arne_timestamp) >= 60)
end)
and ni.customer_id = c.customer_id
and ni.node_inst_type_release_id = nitr.node_inst_type_release_id
and ni.no_of_collection_node_missed >= 4
and c.customer_id =90;