2010-11-24 125 views

回答

4

你再选择需要进行别名:

select * 
from other AS o 
inner join (select Count(*), F1,F2,F3 
      from Table 
      group by F1,F2,F3) AS x on F1 = o.OtherF 
4

您需要别名子查询

select * from other table inner join (select Count(*), F1,F2,F3 from Table group by F1,F2,F3) s on s.F1 = OtherF 
相关问题