fix vista orderstatus (sempre problema con typeId)
This commit is contained in:
@@ -13,7 +13,7 @@ AS
|
||||
WITH cteDoorGroup AS
|
||||
(
|
||||
SELECT OrderId
|
||||
,COUNT(DISTINCT TypeId) AS NumType
|
||||
,COUNT(DISTINCT DoorIdParent) AS NumType
|
||||
,SUM(Quantity) AS NumDoors
|
||||
,SUM(Quantity*UnitCost) AS TotCost
|
||||
FROM Door
|
||||
|
||||
Reference in New Issue
Block a user