-- The Job must have completed before these results count as a successful release.
SELECT SemanticVersion FROM dt.Versions ORDER BY SemanticVersion;
GO

SELECT TaskHub, RuntimeStatus, COUNT_BIG(*) AS Instances
FROM dt.Instances
GROUP BY TaskHub, RuntimeStatus
ORDER BY TaskHub, RuntimeStatus;
