子查询:帮助纠正语法错误

时间:2016-12-14 03:06:02

标签: sql oracle

我不完全确定为什么这不起作用。使用Oracle并收到以下错误:ORA-00933。

SELECT MBR_ID
FROM CLAIMS
WHERE SUBSTR(COMM_PLAN_ID,1,10) IN ('918', '944', '955')
AND COMM_PLAN_ID <>'99999'
AND DATE_OF_SVC BETWEEN '20160101' AND 20160630'
AND CLAIM_STATUS = '1'
(SELECT MBR_ID, COUNT (CLAIM_IDENT)
FROM RIDE
WHERE RUNDATE = 20161202
AND MOP_ADJ_PD_CLAIMS > 90000

1 个答案:

答案 0 :(得分:0)

printf()