我有命名查询,如下所示,并传递动态参数
select count(table1) from Table1 table1 where table1.nameId in
(select table2.nameId from Table2 table2 where table2.hicNumber =:value0)
and table1.indicator = :value1
and table1.startDate = :value2
and NVL(table1.endDate,'31-DEC-2999')=NVL(:value3,'31-DEC-2999')
它将错误视为
[235, 255] The right expression is not a valid expression.
[256, 297] The query contains a malformed ending.
你能帮我解决我做错的事吗?