我運行下面的查詢,試圖找到第一次插入行的重複實例的存在: -查詢返回ORA-00936:缺少表達
SELECT COUNT(*)
FROM rlx_service_info
WHERE row(personalaccountid,serviceid,serviceline,
userserviceid,servicerf) IN (SELECT personalaccountid,
serviceid,
serviceline,
userserviceid,
servicerf
FROM rlx_service_info
WHERE masteraccountid = 'x'
AND status = 30
AND rownum =1
ORDER BY startdate);
使用行()在Oracle中無效。 –
@NicholasKrasnov難怪我無法找到文檔... –