Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Filtering Common Table Expression within View

    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

    ...

Viewing post 1 (of 1 total)