有 ,你的用法没有错,只是少了个括号。select * from (select * from table where ...) as tabletemp

解决方案 »

  1.   

    不知道这是什么意思?难道是要从一个表中查询出一个新的东西吗?不知道这样行不行?
    select * from table1 where filed1 in (select field2 from table2)
      

  2.   

    也许是这样写能满足你的要求:select * from (select * from table1 ) as aliastable--应该用小括号,而不是中括号,中括号中的内容会被做为字段来处理