34,588
社区成员
发帖
与我相关
我的任务
分享
select
a.scode,
b.dcode as statename,
c.dcode as typename
from
binfo a,
sinfo b,
tinfo c
where
a.state=b.state
and
a.type=c.type
select a.SCode, b.Dcode as StateName, c.Dcode as TypeName
from BInfo a,SInfo b,TInfo c
where a.ID=b.ID and a.ID=c.ID
SELECT A.SCode,B.DCode AS StateName,C.DCode AS TypeName
FROM BInfo AS A
JOIN SInfo AS B
ON A.State = B.State
JOIN TInfo AS C
ON A.Type=C.Type