sql抛出这个错误是什么意思?
select *
from deal.d
inner join product_request pr on pr.deal_id =d.deal_id
inner join party p on p.party_id =dp.party_id
where p.user_id='QABSMA11' and pr.Lien_Position_Num (2,3);
ORA-00920: invalid relational operator
00920. 00000 - "invalid relational operator"
*Cause:
*Action:
Error at Line: 23 Column: 171
答案 0 :(得分:2)
and pr.Lien_Position_Num (2,3)
应该是
and pr.Lien_Position_Num IN (2,3)
(以及dasblinkenlight写的内容:使用deal d
代替deal.d
)