[Err] 42000 - [SQL Server]关键字 'where' 附近有语法错误.
SELECT*from(SELECTTOP10*FROMa_店仓档案WHERE(大区NOTIN(SELECTTOP0大区FROMa_店仓档案)))where1=1and性...
SELECT * from
(SELECT TOP 10 * FROM a_店仓档案
WHERE (大区 NOT IN (SELECT TOP 0 大区 FROM a_店仓档案)))
where 1=1 and 性质='代理商' 展开
(SELECT TOP 10 * FROM a_店仓档案
WHERE (大区 NOT IN (SELECT TOP 0 大区 FROM a_店仓档案)))
where 1=1 and 性质='代理商' 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询