SSH项目中使用sql语句报错SQLGrammarException: ORA-00933: SQL 命令未正确结束。数据库是Oracle
SELECT*FROMFITTINGBATCHDETAILWHERESNNOTIN(SELECTSNFROMASSEMBLEPRODUCTDETAILUNIONSELEC...
SELECT * FROM FITTINGBATCHDETAIL
WHERE SN NOT IN(
SELECT SN FROM ASSEMBLEPRODUCTDETAIL UNION
SELECT
SN
FROM
ASSEMBLEPRODUCT
)
and sn like sn=?
这是sql语句 展开
WHERE SN NOT IN(
SELECT SN FROM ASSEMBLEPRODUCTDETAIL UNION
SELECT
SN
FROM
ASSEMBLEPRODUCT
)
and sn like sn=?
这是sql语句 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询