房测之友2014+CAD2008,现在报表模板上的语句
7.1主表#SELECT Flr.FloorName, Ent.ALName, Ent.ValidArea, App.Name
FROM shisEntities Ent LEFT OUTER JOIN
shisFloors Flr ON Ent.FloorID = Flr.ID LEFT OUTER JOIN
shisAppRegions App ON Ent.RegionID = App.ID
WHERE Ent.IsPubUse = 1 AND Ent.ALType <> 3 AND Ent.BuildingID = [BUILDID] AND
Ent.IsMainEnt = 0 AND Ent.RegionID > 0
ORDER BY Flr.FloorNO,Ent.ALName
生成的是这个格式
如果改成这个
合并同面积格式的,SQL语句应该如何修改?
谢谢各位大神!
全部评论