问题描述
SELECT a.Itemid,b.[Date],b.[Hour],c.Name1
FROM (([Report] a
inner join [Results] b
on a.itemid = b.[Id])
inner join [characteristics] c on a.itemid = c.[Id])
where b.Gener > 0 and a.Id in (534560,534993,550300,1000033) and c.ype != 'DD' and c.tType != 'DL'
我不确定如何修改上述代码以使其正常工作。我正在使用pyodbc连接来运行上述查询。
错误是:
('42000',"[42000] [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)