各位大大,BMF报表需要加入非公用半算面积,请教下语句怎么写
全部评论
层名 建筑面积 套内面积 共有面积 其中非公用半算面积
SELECT shisFloors.FloorName, shisFloors.ArchArea, shisFloors.SetInArea,shisFloors.PubArea,bsmjtb.fgybsmj
FROM shisFloors left join (select FloorID,sum(validarea) as fgybsmj from shisentities where AreaWeight=0.5 and IsPubUse=0 GROUP BY FloorID) bsmjtb ON shisFloors.ID = bsmjtb.floorid WHERE shisFloors.BuildingID = [BUILDID] order by shisFloors.FloorNO
距离打开宝箱还剩7天
全部评论