请教一个SQL(50分)

  • 主题发起人 主题发起人 wjhx
  • 开始时间 开始时间
W

wjhx

Unregistered / Unconfirmed
GUEST, unregistred user!
库文件用的是DBISAM,想写一个类似于
select a, sum(b) from table1 where a not in (select c from table2 where d=a) order by a
的句子,在ACCESS内可以执行,在DBISAM内却不可用,在Where子句中的a找不到,有什么合适的解决方法?
 
好象不可以用a,b ,c 等单字母表示字段
 
where table1.a not in (select c from table2 where Table2.d=Table1.a)
 
后退
顶部