2
select *
from other table inner join
(
select Count(*),
F1,F2,F3
from Table
group by F1,F2,F3
) on F1 = OtherF
키워드 'on'근처에 구문이 잘못되었습니다.ms sql 오류 : 'on'키워드 근처의 구문이 잘못되었습니다.
select *
from other table inner join
(
select Count(*),
F1,F2,F3
from Table
group by F1,F2,F3
) on F1 = OtherF
키워드 'on'근처에 구문이 잘못되었습니다.ms sql 오류 : 'on'키워드 근처의 구문이 잘못되었습니다.
귀하의 부속 별명이 될 필요가있는 하위 쿼리를 별칭을해야합니다
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
당신은
이select * from other table inner join (select Count(*), F1,F2,F3 from Table group by F1,F2,F3) s on s.F1 = OtherF