select 
a.itemno,b.descr
from
t_goods a,
(select 
vendorno,a.itemno,b.descr
from
(select vendorno,itemno,turnflag from t_vendor_d where watcher='主') a,
(select syscode,descr from s_syscode where parentcode='244') b
where
a.turnflag=b.syscode)b
where
a.itemno *=b.itemno----------------------------------
服务器: 消息 303,级别 16,状态 1,行 1
表 't_vendor_d' 是外联接子句的内部成员。如果该表同时也包含在常规联接子句中,那么这种情况是不允许的。
最好是能个QQ,学习学习