Viewing post 1 (of 1 total)
Here is the exact CTE I am using
WITH ContactCTE AS(
SELECT Contacts.ContactId
, COUNT(DISTINCT(Plans.PlanId)) AS PlanCount
, MAX(Plans.CreatedOn) As LastDatePlanAdded
, CompanyNames.cnName AS CompanyName
...
September 2, 2015 at 11:16 am
#1824090