关于Oracle的sql*plus问题..有挑战...有水平的进来...
SELECT decl_no, fee_no
FROM t_fee_list
WHERE decl_no + ',' + fee_no in (
select decl_no + ',' + max(fee_no) from t_fee_list
group by decl_no);
上面的语句在Access2000中通过.
但是拿到oracle的sql*plus中就不行了.....
出现:
SQL> SELECT decl_no, fee_no
2 FROM t_fee_list
3 where decl_no & ',' & fee_no in(
4 select decl_no & ',' & max(fee_no) from t_fee_list group by decl_no);
where decl_no & ',' fee_no in(
*
ERROR 位于第3行:
ORA-00920: 无效的关系运算符
这样的错误.....
看这个问题如何处理?