B
bluedna
Unregistered / Unconfirmed
GUEST, unregistred user!
在SQL查询器下的写法:
select A.gddm,A.zqdm,A.sbsj from Ashare_cjhb A Inner Join Ashare_cjhb B on (A.sbsj between 91500 and 95959)and(B.sbsj between 100000 and 113059) group
by A.gddm,A.zqdm,A.sbsj order by A.gddm
请问上面的语句在delphi中用ADOquery控件怎么实现,以下是我的写法,delphi说不对:
with Adoquery1 do
begin
close;
sql.clear;
sql.add('跟上面的sql写法一样');
Prepare:=true
open;
end;
delphi提示对于A不识别,请问该怎么写?
select A.gddm,A.zqdm,A.sbsj from Ashare_cjhb A Inner Join Ashare_cjhb B on (A.sbsj between 91500 and 95959)and(B.sbsj between 100000 and 113059) group
by A.gddm,A.zqdm,A.sbsj order by A.gddm
请问上面的语句在delphi中用ADOquery控件怎么实现,以下是我的写法,delphi说不对:
with Adoquery1 do
begin
close;
sql.clear;
sql.add('跟上面的sql写法一样');
Prepare:=true
open;
end;
delphi提示对于A不识别,请问该怎么写?