以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]select 表达式错误!  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=146911)

--  作者:dj68301367
--  发布时间:2020/3/5 19:21:00
--  [求助]select 表达式错误!
代码如下:
sele ct a.*,b.*,c.*  from {明细} As a  left join {总表} as b on a.Jid = b.ItID left join {基础表} as c on b.Jid = c.ItID where c.itid = 3 and b.itid = 1

错误提示如下:
语法错误 (操作符丢失) 在查询表达式 \'a.Jid = b.ItID left join [基础表] as c on b.Jid = c.ItID\' 中。

--  作者:dj68301367
--  发布时间:2020/3/5 20:55:00
--  
顶一下
--  作者:有点蓝
--  发布时间:2020/3/6 9:44:00
--  
如果是access

sele ct a.*,b.*,c.*  from ({明细} As a  left join {总表} as b on a.Jid = b.ItID) left join {基础表} as c on b.Jid = c.ItID where c.itid = 3 and b.itid = 1