您能否请查看这段代码?我遇到了错误,但不确定是什么原因:
括号附近的语法有误。
select *
from
(select distinct
sar90.code, sar90.state, sar90.county,
sabet.code, sabet.state, sabet.county
from
[dbo].[sarshomari_90] as sar90,
[dbo].[Fixed] as sabet
where
sar90.county = sabet.county
and sar90.state = sabet.state
and sar90.state = N'kerman')