当然可以,标准SQL都支持
不用别名,直接在 Select a1,b1,c1
from (Select a as a1,b as b1,c as c1,d as d1,e as e1
from tabe
where ......) where....

解决方案 »

  1.   

    select column from (select column from ...)
      

  2.   

    Select a1,b1,c1
    from (Select a as a1,b as b1,c as c1,d as d1,e as e1
    from tabe
    where ......) where....
      

  3.   

    當然可以呀
    可以這么做嘛 
    create view Va
    as 
    Select a as a1,b as b1,c as c1,d as d1,e as e1
    from tabe
    where ......goSelect a1,b1,c1
    from Va
    where......
      

  4.   

    with adoquery1 do
    begin
       close;
       sql.add('Select a as a1,b as b1,c as c1,d as d1,e as e1
                 from tabe where ......');
       open;   //再次查询
       Locate('字段名','查找值',[loPartialKey]);
    end;